I'm using the Pimpl idiom in my current project. Initially proved to be a great time-saver, as we could quickly implement hard-coded implementations to get our middle ware up and running allowing GUI development while real implementations were developed.
Further, replacing the std::unique_ptr with a std::shared_ptr provides a unique way of implementing singletons.
I'm using the Pimpl idiom in my current project. Initially proved to be a great time-saver, as we could quickly implement hard-coded implementations to get our middle ware up and running allowing GUI development while real implementations were developed.
Further, replacing the std::unique_ptr with a std::shared_ptr provides a unique way of implementing singletons.