Geant4 9.6.0
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
CLHEP::integral_constant< T, v > Struct Template Reference

#include <type_traits.h>

+ Inheritance diagram for CLHEP::integral_constant< T, v >:

Public Types

typedef T value_type
 
typedef integral_constant< T, v > type
 

Public Member Functions

 operator value_type ()
 

Static Public Attributes

static value_type const value = v
 

Detailed Description

template<typename T, T v>
struct CLHEP::integral_constant< T, v >

Definition at line 165 of file type_traits.h.

Member Typedef Documentation

◆ type

template<typename T , T v>
typedef integral_constant<T,v> CLHEP::integral_constant< T, v >::type

Definition at line 168 of file type_traits.h.

◆ value_type

template<typename T , T v>
typedef T CLHEP::integral_constant< T, v >::value_type

Definition at line 167 of file type_traits.h.

Member Function Documentation

◆ operator value_type()

template<typename T , T v>
CLHEP::integral_constant< T, v >::operator value_type ( )
inline

Definition at line 172 of file type_traits.h.

172{ return value; }
static value_type const value
Definition: type_traits.h:170

Member Data Documentation

◆ value

template<typename T , T v>
value_type const CLHEP::integral_constant< T, v >::value = v
static

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