dune-common  2.2.1
Public Types | List of all members
Dune::ConstantVolatileTraits< T > Struct Template Reference

Determines wether a type is const or volatile and provides the unqualified types. More...

#include <dune/common/typetraits.hh>

Public Types

enum  { isVolatile =false, isConst =false }
 
typedef T UnqualifiedType
 The unqualified type. More...
 
typedef const T ConstType
 The const type. More...
 
typedef const volatile T ConstVolatileType
 The const volatile type. More...
 

Detailed Description

template<typename T>
struct Dune::ConstantVolatileTraits< T >

Determines wether a type is const or volatile and provides the unqualified types.

Member Typedef Documentation

template<typename T>
typedef const T Dune::ConstantVolatileTraits< T >::ConstType

The const type.

template<typename T>
typedef const volatile T Dune::ConstantVolatileTraits< T >::ConstVolatileType

The const volatile type.

template<typename T>
typedef T Dune::ConstantVolatileTraits< T >::UnqualifiedType

The unqualified type.

Member Enumeration Documentation

template<typename T>
anonymous enum
Enumerator
isVolatile 

True if T has a volatile specifier.

isConst 

True if T has a const qualifier.


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