Re: [Boost-bugs] [Boost C++ Libraries] #7251: is_convertible works incorrectly for rvalue source types

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #7251: is_convertible works incorrectly for rvalue source types
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2012-08-26 12:20:35


#7251: is_convertible works incorrectly for rvalue source types
--------------------------------------+-------------------------------------
  Reporter: michel | Owner: johnmaddock
      Type: Patches | Status: new
 Milestone: To Be Determined | Component: type_traits
   Version: Boost Development Trunk | Severity: Problem
Resolution: | Keywords:
--------------------------------------+-------------------------------------

Comment (by johnmaddock):

 Michel,

 I've moved the extra test cases you added into the tricky*.cpp files as
 more than a few compilers fail these cases (once the main test file stops
 building, then we're no longer testing anything at all on that compiler,
 so I'd prefer to keep troublesome test cases separate).

 I've applied the patch, but restricted it's application to GCC to versions
 4.7 and later - earlier versions don't build the test suite with the patch
 applied :-( Versions 4.5.x and 4.6.x fail to build with function types,
 while version 4.4.x fails with just about everything.

 It's possible that an extra #if branch for SFINAE-expressions could fix
 the remaining issues, but equally it might just break more stuff :-(

 Cheers, John.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/7251#comment:3>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:10 UTC