CodingNovice
Programmer
I made a class with this sort of structure...
class A
{
public:
// funcs
private:
class A_Impl;
A_Impl* impl_;
};
and in the implementation file....
class A::A_Impl
{
// A's implementation
}
Now I believe this is right and it compiles fine but in classview instead of seeing A_Impl as a member of A, it has its own entry in the parent namespace. Also all the tooltips/autocomplete things read wrongly also. It seems as if the classview side of the IDE doesnt understand nested classes.Is this a known bug in classview?
I am right aren't I that I can forward declare a nested class in a class definition and define that nested class elsewhere as I have done.
class A
{
public:
// funcs
private:
class A_Impl;
A_Impl* impl_;
};
and in the implementation file....
class A::A_Impl
{
// A's implementation
}
Now I believe this is right and it compiles fine but in classview instead of seeing A_Impl as a member of A, it has its own entry in the parent namespace. Also all the tooltips/autocomplete things read wrongly also. It seems as if the classview side of the IDE doesnt understand nested classes.Is this a known bug in classview?
I am right aren't I that I can forward declare a nested class in a class definition and define that nested class elsewhere as I have done.