Namespaces
Variants
Views
Actions

std::remove_pointer

From cppreference.com
< cpp | types
Revision as of 19:02, 19 April 2012 by P12bot (Talk | contribs)

Template:cpp/types/sidebar

Defined in header <type_traits>
template< class T >
struct remove_pointer;
(since C++11)

Provides the member typedef type which is the type pointed to by T, or, if T is not a pointer, then type is the same as T.

Contents

Member types

Template:tdcl list begin Template:tdcl list hitem Template:tdcl list item Template:tdcl list end

Possible implementation

Template:eq fun cpp

Example

See also

checks if a type is a pointer type
(class template) [edit]
adds pointer to the given type
(class template) [edit]