std::remove_pointer

From Cppreference

Jump to: navigation, search
Defined in header <type_traits>

template< class T >
struct remove_pointer;
(C++11 feature)

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

[edit] Member types

Name Definition
type the type pointed to by T or T if it's not a pointer

[edit] Equivalent definition

[edit] Example

[edit] See also

is_pointer (C++11)
checks if a type is a pointer type
(class template)
add_pointer (C++11)
adds pointer to the given type
(class template)