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-01 04:15:59


On Tue, May 1, 2012 at 9:50 AM, Vicente J. Botet Escriba
<vicente.botet_at_[hidden]> 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?

Olaf


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