Subject: Re: [Boost-bugs] [Boost C++ Libraries] #3772: Suggested addition for type_traits
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2010-02-04 17:27:38
#3772: Suggested addition for type_traits
-------------------------------------------------+--------------------------
Reporter: Edward Diener <eld@â¦> | Owner: johnmaddock
Type: Feature Requests | Status: closed
Milestone: Boost 1.42.0 | Component: type_traits
Version: Boost 1.41.0 | Severity: Optimization
Resolution: wontfix | Keywords: is_pointer
-------------------------------------------------+--------------------------
Changes (by johnmaddock):
* status: new => closed
* resolution: => wontfix
Comment:
Don't you mean is_object_pointer and is_function_pointer ??
In any case, these can be easily composed from remove_pointer and
is_function:
is_object_pointer == !is_function<remove_pointer<T>::type>
is_function_pointer == is_function<remove_pointer<T>::type>
Generally speaking we try not to add too many traits that are simple
compositions of others - we would quickly end up with a very large list!
John.
PS, closing this issue for now, please reopen if you can drum up enough
support :-)
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/3772#comment:1> 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:02 UTC