Boost logo

Boost :

From: David Abrahams (dave_at_[hidden])
Date: 2008-06-26 09:19:02

Howard Hinnant <hinnant <at>> writes:

> The tr1::is_convertible, which was born from boost::is_convertible,
> considers its "from" to be an lvalue when detecting convertibility.
> The C++0X std::is_convertible considers its "from" to be an rvalue
> when detecting convertibility. If one wants to restrict
> is_convertible to only consider lvalue froms, one simply specifies an
> lvalue reference: is_convertible<F&, T>::value (from is now
> considered as an lvalue).
> There is motivation for this change here:
> (search for "is_convertible").

Very interesting! But now the question is, how do we resolve this (and other
issues like it that will surely come up) for Boost?

Dave Abrahams
Boostpro Computing

Boost list run by bdawes at, gregod at, cpdaniel at, john at