B
Brian Gianforcaro
All,
Is it possible to make a class only accessible to just a plain global
function?
Given the practices of this particular code base, the function is not
part of any class, it stands alone. The class this function uses as it's
main data structure will never (It is possible but highly unlikely) need
to be used by any other code in the code base.
I'm looking for a clean/elegant solution to make this class unaccessible
to other code.
As far as I can tell this isn't possible in c++, I'm hoping I am wrong.
Thanks
Any suggestions would be helpful,
- Brian Gianforcaro
Is it possible to make a class only accessible to just a plain global
function?
Given the practices of this particular code base, the function is not
part of any class, it stands alone. The class this function uses as it's
main data structure will never (It is possible but highly unlikely) need
to be used by any other code in the code base.
I'm looking for a clean/elegant solution to make this class unaccessible
to other code.
As far as I can tell this isn't possible in c++, I'm hoping I am wrong.
Thanks
Any suggestions would be helpful,
- Brian Gianforcaro