Subject: Re: [boost] [pimpl] Some comments
From: Sohail Somani (sohail_at_[hidden])
Date: 2014-06-06 10:16:55


On 06/06/2014 10:06 AM, Mostafa wrote:
> On Fri, 06 Jun 2014 05:57:57 -0700, Sohail Somani
> <sohail_at_[hidden]> wrote:
>
>> That being said, projects have conventions and if it is a convention
>> for you, that's fine. I wouldn't make everyone use this convention
>> through Boost.Pimpl though.
>
> I agree with you, and that's why if you go back and look at the context
> of my response, I was writing with respect to
> pimpl<...>::pointer_semantics. No where did I make any suggestions on
> the use of pimpl<...>::value_semantics.

Glad we agree! I may have accidentally snipped out some context when I
quoted you originally: "When dealing with pimpl'd classes, the expected
norm (in my experience) for making deep copies is to use the clone
function."