On Jan 22, 2014, at 6:15 PM, Derek Atkins <[email protected]> wrote:

> 
> On Wed, January 22, 2014 8:57 pm, John Ralls wrote:
>> 
>> PImpl, which decomposes as either "Private Implementation" or "Pointer to
>> Implementation" is a basic C++ idiom. Here's Herb Sutter's explanation:
>> http://herbsutter.com/gotw/_100/
> 
> Ahh, I do know this idiom, I have just never seen it named this way.
> Indeed, I use this idiom all the time, although I don't use "unique_ptr".

Unique_ptr is a new feature of C++11, replacing the old auto_ptr with similar 
behavior and supposedly without the bugs. Fortunately we don't need to require 
C++11 to use it, it's been in Boost since 1.37.

Regards,
John Ralls


_______________________________________________
gnucash-devel mailing list
[email protected]
https://lists.gnucash.org/mailman/listinfo/gnucash-devel

Reply via email to