tetl 0.1.0
Embedded Template Library
Loading...
Searching...
No Matches
integral_constant< Type, Val > Struct Template Reference

#include <integral_constant.hpp>

Inheritance diagram for integral_constant< Type, Val >:
is_invocable< Fn, ArgTypes > is_invocable_r< R, Fn, ArgTypes > is_nothrow_constructible< T, Args > is_signed< T > is_unsigned< T > uses_allocator< Type, Alloc >

Public Types

using type = integral_constant<Type, Val>
 
using value_type = Type
 

Public Member Functions

constexpr operator value_type () const noexcept
 
constexpr auto operator() () const noexcept -> value_type
 

Static Public Attributes

static constexpr Type value = Val
 

Member Typedef Documentation

◆ type

template<typename Type, Type Val>
using type = integral_constant<Type, Val>

◆ value_type

template<typename Type, Type Val>
using value_type = Type

Member Function Documentation

◆ operator value_type()

template<typename Type, Type Val>
operator value_type ( ) const
inlineconstexprnoexcept

◆ operator()()

template<typename Type, Type Val>
auto operator() ( ) const -> value_type
inlineconstexprnoexcept

Member Data Documentation

◆ value

template<typename Type, Type Val>
Type value = Val
staticconstexpr

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