Code::Blocks Forums

Developer forums (C::B DEVELOPMENT STRICTLY!) => Development => CodeCompletion redesign => Topic started by: gonboy on April 28, 2013, 05:38:15 am

Title: CodeCompletion: inherit bug?
Post by: gonboy on April 28, 2013, 05:38:15 am
//father
class A
{
    public:
       char a;
};
//son
class B
{
    public:
       char b;
}

int main()
{
    B x;
    x.b = 12;
    x.A::a = 45; //Couldn't Complete it ".A::a"

    return 0
}
Title: Re: CodeCompletion: inherit bug?
Post by: oBFusCATed on April 28, 2013, 05:48:43 am
It should be "class B : public A", but I suppose this advanced syntax is not supported anyway.