Boost logo

Boost :

Subject: Re: [boost] [pimpl] No documentation for pointer semantics
From: Rob Stewart (robertstewart_at_[hidden])
Date: 2014-06-07 09:53:34

On June 7, 2014 5:43:14 AM EDT, Vladimir Batov <vb.mail.247_at_[hidden]> wrote:
>I glanced over his pimpl::value_semantics generalization at
> and my first impression is quite

I like the idea, too.

>It's very lightweight and I find splitting one header in two (public
>private) to be very sensible (ironically matching the handle/body


>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
>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.


(Sent from my portable computation engine)

Boost list run by bdawes at, gregod at, cpdaniel at, john at