plll
1.0
|
Strips decorations const
, &
, volatile
and &&
from types.
More...
#include <helper.hpp>
Public Types | |
typedef implementation::remove_decorations_impl < A >::result | Result |
The stripped type. | |
Strips decorations const
, &
, volatile
and &&
from types.
Strips the decorations const
, &
, volatile
and &&
(in case of C++11) from types. More precisely, the four types
plll::remove_decorations<T>::Result
plll::remove_decorations<T &>::Result
plll::remove_decorations<const T>::Result
plll::remove_decorations<const T &>::Result
plll::remove_decorations<volatile T>::Result
plll::remove_decorations<volatile T &>::Result
plll::remove_decorations<volatile const T>::Result
plll::remove_decorations<volatile const T &>::Result
will be all equal to T in case T is a class, native type or pointer. (In C++11, one could add eight more examples with &&
.)
A | The type to strip decorations from. |
Note that in C++11, std::remove_reference<>
and std::remove_cv<>
combined would provide the same functionality.
Definition at line 286 of file helper.hpp.