Have you used pimpl?

1 Comment

  • Daniel Slater - 11 months ago

    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.

Leave a Comment

0/4000 chars


Submit Comment