kblib 0.2.3
General utilities library for modern C++
kblib::type_constant< T, V > Struct Template Reference

#include <kblib/traits.h>

Public Member Functions

constexpr operator T () const noexcept
 

Static Public Attributes

static constexpr T value = V
 

Detailed Description

template<typename T, T V>
struct kblib::type_constant< T, V >

Definition at line 447 of file traits.h.

Member Function Documentation

◆ operator T()

template<typename T , T V>
constexpr kblib::type_constant< T, V >::operator T ( ) const
inlineconstexprnoexcept

Definition at line 448 of file traits.h.

Member Data Documentation

◆ value

template<typename T , T V>
constexpr T kblib::type_constant< T, V >::value = V
staticconstexpr

Definition at line 449 of file traits.h.


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