On June 7, 2014 5:43:14 AM EDT, Vladimir Batov
I glanced over his pimpl::value_semantics generalization at http://herbsutter.com/gotw/_101/ and my first impression is quite positive.
I like the idea, too.
It's very lightweight and I find splitting one header in two (public and private) to be very sensible (ironically matching the handle/body concept).
:)
I myself routinely do that to implement pimpl-based hierarchies. In comparison my-pimpl offering looks quite heavy and old (given no C++11 facelift). More and more I feel my-pimpl is a few years late to the party, err... the review.
There are many that will not have variadic templates for years, so the older approach can still offer value. That said, your library would be more complete with something like Herb's approach. ___ Rob (Sent from my portable computation engine)