
28 May
2016
28 May
'16
2:25 p.m.
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