Boost logo

Boost :

Subject: Re: [boost] clang-win, again
From: Peter Dimov (lists_at_[hidden])
Date: 2018-08-13 12:50:46


degski wrote:

> .\boost/type_traits/has_trivial_move_assign.hpp:49:4: error: no template
> named 'is_assignable'; did you mean 'std::is_assignable'?
> BOOST_HAS_TRIVIAL_MOVE_ASSIGN(T)

FWIW, this seems to be because BOOST_HAS_TRIVIAL_MOVE_ASSIGN is defined
under Clang as:

# define BOOST_HAS_TRIVIAL_MOVE_ASSIGN(T) (__is_trivially_assignable(T&,
T&&) && is_assignable<T&, T&&>::value && !::boost::is_volatile<T>::value)

but then the headers for is_assignable or is_volatile aren't included.


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