[type_traits] is_convertible<int, int&> inconsistent result

7 Nov
2012
7 Nov
'12
5:45 p.m.
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?

8 Nov
8 Nov
9:57 a.m.
New subject: [type_traits] is_convertible<int, int&> inconsistent result
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?
Yes, but it's tricky to do without breaking stuff, I will get back to this eventually though, John.
4600
Age (days ago)
4601
Last active (days ago)
1 comments
2 participants
participants (2)
-
John Maddock
-
TONGARI