What's the meaning of unqualified-id?

Posted clblacksmith

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了What's the meaning of unqualified-id?相关的知识,希望对你有一定的参考价值。

catch( const std::runtime_error & e)

{

....

}

When compile, met an error:

error: expected unqualified-id before &.

It was so puzzling.

 

With experence in C++, fixed it after including head file <stdexcept>.

Then may I understand unqualified-id as incomplete class? If so, this error message just says "need a type or class before & even it is incomplete". The implication is that runtime_error is nod declared or not declared as a class.

 

以上是关于What's the meaning of unqualified-id?的主要内容,如果未能解决你的问题,请参考以下文章

what's the problem of Object oriented programming

What's mean ORA-25191?

what's the CRSF ??

What's the difference between all the Selection Segues?

What's the IO Instruction Restart

what's the python之内置函数