dune-common 2.1.1
|
Generate a type for a given integral constant. More...
#include <dune/common/typetraits.hh>
Public Types | |
typedef T | value_type |
type of value | |
typedef integral_constant< T, v > | type |
type of this class itself | |
Public Member Functions | |
operator value_type () | |
conversion to value_type/T | |
Static Public Attributes | |
static const T | value = v |
value this type was generated for |
Generate a type for a given integral constant.
T | Type of the constant. |
v | Value of the constant. |
typedef integral_constant<T,v> Dune::integral_constant< T, v >::type |
type of this class itself
typedef T Dune::integral_constant< T, v >::value_type |
type of value
Dune::integral_constant< T, v >::operator value_type | ( | ) | [inline] |
conversion to value_type/T
const T Dune::integral_constant< T, v >::value = v [static] |
value this type was generated for
Reimplemented in Dune::Int2Type< N >.
Referenced by Dune::integral_constant< int, N >::operator value_type().