Boost logo

Boost :

From: JOAQUIN LOPEZ MU?Z (joaquin_at_[hidden])
Date: 2006-04-13 05:57:09


Hello,

In a post from yesterday (see http://tinyurl.com/hzk5w),
Alexei Alexandrov found a rather serious problem with
is_convertible in at least MSVC 7.1 and Intel 9.0, namely
that is_convertible<From,To> fails to compile when
>From is non-copyable, emitting an error message like this:

boost/boost/type_traits/is_convertible.hpp(254): error:
class "XXX" has no suitable copy constructor
      BOOST_STATIC_CONSTANT(bool, value =
...

where XXX is the From argument. Needless to say, some
fix for this issue would be most welcome. I'm sorry
I cannot provide any more help than a mere report
of the problem.

Thank you,

Joaquín M López Muñoz
Telefónica, Investigación y Desarrollo


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