News:

As usual while waiting for the next release - don't forget to check the nightly builds in the forum.

Main Menu

CodeCompletion: inherit bug?

Started by gonboy, April 28, 2013, 05:38:15 AM

Previous topic - Next topic

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.
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]