Boost logo

Boost :

Subject: Re: [boost] [filesystem] path noncopyable error with boost 1.55.0 and g++ 4.5.1
From: Andrey Semashev (andrey.semashev_at_[hidden])
Date: 2014-04-09 13:43:14


On Wednesday 09 April 2014 13:28:16 Richard Hadsell wrote:
>
> I also didn't replace BOOST_NO_DEFAULTED_FUNCTIONS with
> BOOST_NO_CXX11_DEFAULTED_FUNCTIONS, not knowing the current preference.

BOOST_NO_DEFAULTED_FUNCTIONS is deprecated, BOOST_NO_CXX11_DEFAULTED_FUNCTIONS
should be used instead.

> Anyway, I leave it to you to decide how to fix noncopyable.hpp for this
> minor incompatibility with an ancient compiler. Since
> BOOST_NO_CXX11_NON_PUBLIC_DEFAULTED_FUNCTIONS exists, it seems reasonable
> to use it where appropriate.

I'm fine with either approach. Using BOOST_NO_CXX11_DEFAULTED_FUNCTIONS and
BOOST_NO_CXX11_NON_PUBLIC_DEFAULTED_FUNCTIONS seems more natural in this
particular case.


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