2
Copyright 2007 John Maddock.
3
Distributed under the Boost Software License, Version 1.0.
4
(See accompanying file LICENSE_1_0.txt or copy at
5
http://www.boost.org/LICENSE_1_0.txt).
8
[section:remove_pointer remove_pointer]
16
__type The same type as `T`, but with any pointer modifier removed. Note that pointers to members are left unchanged:
17
removing the pointer decoration would result in an invalid type.
21
__compat If the compiler does not support partial specialization of class-templates
22
then this template will compile, but the member `type` will always be the same as
23
type `T` except where __transform_workaround have been applied.
25
__header ` #include <boost/type_traits/remove_pointer.hpp>` or ` #include <boost/type_traits.hpp>`
29
[ [Expression] [Result Type]]
31
[[`remove_pointer<int>::type`][`int`]]
33
[[`remove_pointer<int const*>::type`] [`int const`]]
35
[[`remove_pointer<int const**>::type`] [`int const*`]]
37
[[`remove_pointer<int&>::type`] [`int&`]]
39
[[`remove_pointer<int*&>::type`] [`int*&`]]