There is some class with very large number of functions. I decided to somehow structure them, give them a meaning and stuff them into structures in public.

class something { int fortyTwo; public: struct fold { void fold1(); void fold2(); void fold3(); } fold; struct take { void take1(); void take2(); } take; 

};

How now to allow them to manage data in the parent class? How to define them?

    1 answer 1

    About the mother class, you correctly noted. You should implement this through inheritance (if it makes sense at all), and not hell hell with such bikes.

    In C ++, it is not possible to access an external class from a nested class (unlike Java, for example).