S
Samee Zahur
I know that these beasts are better avoided ... but I'm just curious...
are outer<int>::inner and outer<float>::inner the same? (let's say
outer is a template class) what if inner has a static member var? Is it
shared with all inners?
And what if an inner class is defined with private access ... what does
it mean? Can outsiders access that vars of that type without declaring
one ... or should they never even see any variable of that type
anywhere in their code?
Samee
are outer<int>::inner and outer<float>::inner the same? (let's say
outer is a template class) what if inner has a static member var? Is it
shared with all inners?
And what if an inner class is defined with private access ... what does
it mean? Can outsiders access that vars of that type without declaring
one ... or should they never even see any variable of that type
anywhere in their code?
Samee