3-phase PV router
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Static Public Attributes | List of all members
integral_constant< T, v > Struct Template Reference

#include <integral_constant.hpp>

Inheritance diagram for integral_constant< T, v >:
Inheritance graph
[legend]

Public Types

using type = integral_constant
 
using value_type = T
 

Public Member Functions

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

Static Public Attributes

static constexpr T value = v
 

Detailed Description

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

Definition at line 8 of file integral_constant.hpp.

Member Typedef Documentation

◆ type

template<typename T , T v>
using integral_constant< T, v >::type = integral_constant

Definition at line 12 of file integral_constant.hpp.

◆ value_type

template<typename T , T v>
using integral_constant< T, v >::value_type = T

Definition at line 11 of file integral_constant.hpp.

Member Function Documentation

◆ operator value_type()

template<typename T , T v>
constexpr integral_constant< T, v >::operator value_type ( ) const
inlineconstexprnoexcept

Definition at line 13 of file integral_constant.hpp.

◆ operator()()

template<typename T , T v>
constexpr value_type integral_constant< T, v >::operator() ( ) const
inlineconstexprnoexcept

Definition at line 17 of file integral_constant.hpp.

Member Data Documentation

◆ value

template<typename T , T v>
constexpr T integral_constant< T, v >::value = v
staticconstexpr

Definition at line 10 of file integral_constant.hpp.


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