Re: [cfe-users] Making private types public

2021-01-03 Thread Matthew Fernandez via cfe-users
> On Jan 3, 2021, at 16:12, Volker Weißmann via cfe-users > wrote: > > Hello, > > If you define a type privately (or protected) like this: > > class c { > > class priv{}; > > }; > > then the writing "c::priv" outside of the class c will generate the error > "'class c::priv' is

[cfe-users] Making private types public

2021-01-03 Thread Volker Weißmann via cfe-users
Hello, If you define a type privately (or protected) like this: class c {     class priv{}; }; then the writing "c::priv" outside of the class c will generate the error "'class c::priv' is private within this context". This is really bad for me, because I'm currently writing a tool that