extra qualification error in C++

后端 未结 5 1465
轮回少年
轮回少年 2020-11-30 01:37

I have a member function that is defined as follows:

Value JSONDeserializer::ParseValue(TDR type, const json_string& valueString);

When

5条回答
  •  情书的邮戳
    2020-11-30 01:57

    I saw this error when my header file was missing closing brackets.

    Causing this error:

    // Obj.h
    class Obj {
    public:
        Obj();
    

    Fixing this error:

    // Obj.h
    class Obj {
    public:
        Obj();
    };
    

提交回复
热议问题