Templa 0.0.1-alpha
C++ Metaprogramming Utilities
Loading...
Searching...
No Matches
templa::traits::strip< T > Struct Template Reference

Recursively strips const, volatile qualifiers and pointers from a type. More...

#include <traits.hpp>

Public Types

using type = T

Detailed Description

template<typename T>
struct templa::traits::strip< T >

Recursively strips const, volatile qualifiers and pointers from a type.

Template Parameters
TThe type to strip.
Note
This struct removes all levels of const, volatile, and pointer indirection. For example, strip<const volatile int *>::type is int.

The documentation for this struct was generated from the following file: