Developer forums (C::B DEVELOPMENT STRICTLY!) > CodeCompletion redesign

CodeCompletion: inherit bug?

(1/1)

gonboy:
//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
}

oBFusCATed:
It should be "class B : public A", but I suppose this advanced syntax is not supported anyway.

Navigation

[0] Message Index

Go to full version