Boost logo

Boost :

Subject: Re: [boost] [timer] May I apply trivial fix?
From: Antony Polukhin (antoshkka_at_[hidden])
Date: 2013-08-02 06:49:03


2013/8/2 Andrey Semashev <andrey.semashev_at_[hidden]>

> On Friday 02 August 2013 12:52:56 Antony Polukhin wrote:
> > Hi,
> >
> > As far as I know Beman is almost always busy, so may I apply trivial fix
> > described in this ticket https://svn.boost.org/trac/boost/ticket/8956 ?
> >
> > This fix is essential for running regression tests with Intel compiler.
>
> I recently made a workaround in Boost.Test for this problem [1] but I
> simply
> dropped noncopyable and replaced it with deleted functions. I wonder if
> there's any need for noncopyable now besides backward compatibility.
>
> [1] https://svn.boost.org/trac/boost/changeset/85187
>

Adding `boost::noncopyable` is much shorter than adding 2-3 lines of
macros. Ugly macros are not in users code, so the resulting code is easier
to read. Just some syntactic sugar for developers.

-- 
Best regards,
Antony Polukhin

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