Determines whether a type is const or volatile and provides the unqualified types. More...
#include <dune/common/typetraits.hh>
Public Types | |
enum | { isVolatile = std::is_volatile<T>::value, isConst = std::is_const<T>::value } |
typedef std::remove_cv< T >::type | UnqualifiedType |
The unqualified type. | |
typedef std::add_const < UnqualifiedType >::type | ConstType |
The const type. | |
typedef std::add_cv < UnqualifiedType >::type | ConstVolatileType |
The const volatile type. |
Determines whether a type is const or volatile and provides the unqualified types.
typedef std::add_const<UnqualifiedType>::type Dune::ConstantVolatileTraits< T >::ConstType |
The const type.
typedef std::add_cv<UnqualifiedType>::type Dune::ConstantVolatileTraits< T >::ConstVolatileType |
The const volatile type.
typedef std::remove_cv<T>::type Dune::ConstantVolatileTraits< T >::UnqualifiedType |
The unqualified type.
anonymous enum |