dune-common  2.2.0
Public Types
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>

List of all members.

Public Types

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

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: