Boost logo

Boost :

Subject: Re: [boost] [optional] regression failures on Linux teeks
From: Andrzej Krzemienski (akrzemi1_at_[hidden])
Date: 2017-11-06 07:54:37


2017-11-05 19:54 GMT+01:00 Daniel James via Boost <boost_at_[hidden]>:

> On 5 November 2017 at 13:10, Andrzej Krzemienski via Boost
> <boost_at_[hidden]> wrote:
> > Hi Lorenzo,
> > Issue 1 is a bug in the implementation of Optional that I introduced a
> > couple of days ago. This has been now reverted, but we will still see the
> > error reports for the next couple of days in the test matrix.
> > Issue 2 seems to be the communication problem between the compiler and
> the
> > standard library, but I do not know anything specific.
>
> FWIW I'm getting an error on the develop branch using g++ 4.4 in C++0x
> mode:
>
> ../../boost/optional/optional.hpp:954: error:
> ‘boost::optional<T>::optional(boost::optional<T>&&)’ cannot be
> defaulted
> ../../boost/optional/optional.hpp:1031: error: ‘boost::optional<T>&
> boost::optional<T>::operator=(boost::optional<T>&&)’ cannot be
> defaulted
>
> g++ 4.6 doesn't have this issue

Thanks!
Apparently, this is the second compiler (in addition to MSVC 12) to expose
this property: defaulted functions work in general but not with move
operations. I will fix it, but ideally it should be fixed in Boost.Config.

Regards,
&rzej;


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