Subject: Re: [boost] [optional] optional(Expr&&) is insufficiently constrained
From: Stephan T. Lavavej (stl_at_[hidden])
Date: 2016-02-18 20:54:14
> I have created a ticket abut this problem:
> Frankly, I do not know how to implement it in a portable way (considering older compilers) without type trait boost::is_constructible.
> I am currently blocked on it: https://svn.boost.org/trac/boost/ticket/12003.
The simplest solution would be to add the additional constraint when Boost.Config tells you that a modern is_constructible is available. (Older toolsets will lack the intense metaprogramming that makes this constraint necessary in the first place.)
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk