Basic implementation of the pImpl (Pointer to Implementation) idiom.
The SimpleClassPimpl class shows a basic and straightforward implementation of the pImpl Idiom.
It has the 8 basic elements that a pImpl class should contain:
- Constructor of the visble class
- Destructor of the visible class
- Copy Constructor
- Copy Assignment
- Move Constructor
- Move Assignment
- Forward declaration of the Impl (Implementation) class
- Smart pointer to the Impl class (pimpl)
The Impl class is defined in the simpleclasspimpl.cpp file