[Boost-bugs] [Boost C++ Libraries] #7246: is_convertible works incorrectly for function target types

Subject: [Boost-bugs] [Boost C++ Libraries] #7246: is_convertible works incorrectly for function target types
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2012-08-18 11:14:15


#7246: is_convertible works incorrectly for function target types
-------------------------------------+--------------------------------------
 Reporter: michel | Owner: johnmaddock
     Type: Patches | Status: new
Milestone: To Be Determined | Component: type_traits
  Version: Boost Development Trunk | Severity: Problem
 Keywords: |
-------------------------------------+--------------------------------------
 `is_convertible` works incorrectly for function target types.
 For example,
 {{{
 boost::is_convertible<int(), int()>
 }}}
 should return false_type, but it returns true_type (tested on gcc).
 Trivial patch attached.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/7246>
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