Boost logo

Boost :

Subject: Re: [boost] Pimpl Again?
From: Chris Glover (c.d.glover_at_[hidden])
Date: 2016-05-28 10:25:46


>
>
> Thoughts? No pressure. I am easy either way. :-)
>
> https://github.com/yet-another-user/pimpl
>
> Docs are freshened up but still somewhat out of date. Apologies.
>
>
>
I would personally use this, I am sure of that, as I type this in by hand
using unique_ptr all the time.

One addition I would like to see is a version where the heap allocation is
avoided by storing an internal buffer in the base class. Yes, this means
one needs to keep the size in sync between the impl and the header, but
this can be an important optimization sometimes.

-- chris


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk