Hiding private data members? (C++) June 1, 2023 by Tarik The “pimpl” idiom is how this is generally handled. See http://www.gotw.ca/gotw/024.htm http://www.gotw.ca/gotw/028.htm http://herbsutter.com/gotw/_100/ (updated for C++11)