fennec
Loading...
Searching...
No Matches
fennec::integral_constant< IntT, ValueV >

metaprogramming integral constant More...

#include <constants.h>

Detailed Description

template<typename IntT, IntT ValueV>
struct fennec::integral_constant< IntT, ValueV >

A metaprogramming integral constant

Template Parameters
IntTtype of the constant
ValueVvalue of the constant

Public Member Functions

constexpr operator IntT () const noexcept
 cast operator to allow for braced initialization
 

Static Public Attributes

static constexpr IntT value = ValueV
 value of the constant
 

Member Function Documentation

◆ operator IntT()

template<typename IntT , IntT ValueV>
constexpr fennec::integral_constant< IntT, ValueV >::operator IntT ( ) const
inlineconstexprnoexcept
Returns
the value of the constant

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