Multiple Unnamed Nested Classes

78 views Asked by At
class grphD::App
{
    ...

    protected:
        class 
        {
            ...
        } console_handler;

        class
        {
            ...
        } grid;
};

How can I access App::console_handler inside App::grid functions without having console_handler static and keeping console_handler an object of an anonymous class?

0

There are 0 answers