Boost logo

Boost :

Subject: [boost] [type_traits] is_convertible<int, int&> inconsistent result
From: TONGARI (tongari95_at_[hidden])
Date: 2012-11-07 12:45:51


Hi,

I'd expect boost::is_convertible<int, int&>::value to be false, so I was
surprised that it gives me "true" under g++ 4.7.1.
Switch to std::is_convertible<int, int&> or using clang instead gives me
the expected "false".

After some search, I found:
https://svn.boost.org/trac/boost/ticket/7251

Any plan to fix it?


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