I would like to keep the code readable by writing the actual code of a nested class outside the main class, Is it possible, and how ?
class AA{
//random code
class BB : public CC <double> {
// very long code
};
// random code
};
I would like to write something like :
class AA{
//random code
//<declaration of class BB>
// random code
};
class BB : public CC <double>{
// very long code
};
and the BB class should only be accessible within the AA class...
Is this what you want?