[Boost-bugs] [Boost C++ Libraries] #2011: Is there a way to extract the member type of a (data) member pointer?

Subject: [Boost-bugs] [Boost C++ Libraries] #2011: Is there a way to extract the member type of a (data) member pointer?
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2008-06-14 19:08:16


#2011: Is there a way to extract the member type of a (data) member pointer?
--------------------------+-------------------------------------------------
 Reporter: dlwalker | Owner: johnmaddock
     Type: Bugs | Status: new
Milestone: Boost 1.36.0 | Component: type_traits
  Version: Boost 1.35.0 | Severity: Problem
 Keywords: |
--------------------------+-------------------------------------------------
 Can `boost::remove_pointer<T>` be modified to work with pointers-to-member
 (data), too? For instance: `remove_pointer<int *>` returns the int type,
 but so should `remove_pointer<int std::div_t::*>`. Or maybe a new class
 template should be used.

--
Ticket URL: <http://svn.boost.org/trac/boost/ticket/2011>
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:49:58 UTC