Dune Core Modules (2.3.1)

Dune::integral_constant< T, v > Struct Template Reference

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
 

Detailed Description

template<class T, T v>
struct Dune::integral_constant< T, v >

Generate a type for a given integral constant.

Template Parameters
TType of the constant.
vValue of the constant.

The documentation for this struct was generated from the following file:
Creative Commons License   |  Legal Statements / Impressum  |  Hosted by TU Dresden  |  generated with Hugo v0.80.0 (May 2, 22:35, 2024)