For complex cases I use pimpl-like solution, for simple ones I use private members directly. I don't consider it cluttering the file. Pimpl is also fine if you want to hide the internal representation of the object when implementing a library.
For complex cases I use pimpl-like solution, for simple ones I use private members directly. I don't consider it cluttering the file. Pimpl is also fine if you want to hide the internal representation of the object when implementing a library.
Bookmarks