vSMC
vSMC: Scalable Monte Carlo
Public Types | Public Member Functions | Static Public Attributes | List of all members
vsmc::cxx11::integral_constant< T, v > Struct Template Reference

#include <vsmc/cxx11/type_traits.hpp>

Public Types

typedef integral_constant< T, v > type
 
typedef T value_type
 

Public Member Functions

constexpr operator value_type () const noexcept
 
constexpr value_type operator() () const noexcept
 

Static Public Attributes

static constexpr const T value = v
 

Detailed Description

template<typename T, T v>
struct vsmc::cxx11::integral_constant< T, v >

Definition at line 108 of file type_traits.hpp.

Member Typedef Documentation

template<typename T, T v>
typedef integral_constant<T, v> vsmc::cxx11::integral_constant< T, v >::type

Definition at line 240 of file type_traits.hpp.

template<typename T, T v>
typedef T vsmc::cxx11::integral_constant< T, v >::value_type

Definition at line 239 of file type_traits.hpp.

Member Function Documentation

template<typename T, T v>
constexpr vsmc::cxx11::integral_constant< T, v >::operator value_type ( ) const
inlinenoexcept

Definition at line 242 of file type_traits.hpp.

template<typename T, T v>
constexpr value_type vsmc::cxx11::integral_constant< T, v >::operator() ( ) const
inlinenoexcept

Definition at line 243 of file type_traits.hpp.

Member Data Documentation

template<typename T, T v>
constexpr const T vsmc::cxx11::integral_constant< T, v >::value = v
static

Definition at line 241 of file type_traits.hpp.