Boost logo

Boost :

Subject: Re: [boost] [config] New NO_COPYABLE, DELETE_COPY_CTOR and DELETE_COPY_ASSIGN macros
From: Olaf van der Spek (ml_at_[hidden])
Date: 2012-05-11 12:13:00


On Fri, May 11, 2012 at 3:58 PM, Vicente Botet <vicente.botet_at_[hidden]> wrote:
>
> Olaf van der Spek-3 wrote
>>
>> On Tue, May 1, 2012 at 9:50 AM, Vicente J. Botet Escriba
>> &lt;vicente.botet@&gt; wrote:
>>> As these come together quite often when we want to make a non copyable
>>> class
>>> the user can use instead
>>>
>>>  public:
>>>    BOOST_NO_COPYABLE(CLASS)
>>
>> Isn't it simpler to derive from boost::noncopyable?
>>
>>
>
> Hi,
>
> I want to avoid to derive from whatever class.

Why?

-- 
Olaf

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