[Boost-bugs] [Boost C++ Libraries] #5484: remove_pointer does not remove cv-qualified pointers to function with vc10

Subject: [Boost-bugs] [Boost C++ Libraries] #5484: remove_pointer does not remove cv-qualified pointers to function with vc10
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2011-04-18 09:56:41


#5484: remove_pointer does not remove cv-qualified pointers to function with vc10
------------------------------+---------------------------------------------
 Reporter: iorate | Owner: johnmaddock
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: type_traits
  Version: Boost 1.46.1 | Severity: Problem
 Keywords: |
------------------------------+---------------------------------------------
 boost::remove_pointer doesn't remove cv-qualified pointers to function
 with visual c++ 2010 sp1.
 {{{
 #include <boost/type_traits/remove_pointer.hpp>

 #include <boost/mpl/assert.hpp>
 #include <boost/type_traits/is_same.hpp>

 BOOST_MPL_ASSERT((boost::is_same<
     boost::remove_pointer<int (* const)()>::type,
     int (* const)()
>)); // success!
 }}}
 With gcc 4.6.0, boost::remove_pointer<int (* const)()>::type correctly
 returns 'int ()'.

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