open-cpp-utils 0.0.1
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Static Public Attributes | List of all members
open_cpp_utils::constant_value< T, V > Struct Template Reference

Compile-time constant value. More...

#include <template_utils.h>

Public Types

using type = T
 

Public Member Functions

constexpr operator type () const noexcept
 
constexpr type operator() () const
 

Static Public Attributes

static constexpr type value = V
 

Detailed Description

template<typename T, T V>
struct open_cpp_utils::constant_value< T, V >

Compile-time constant value.

Template Parameters
TType
VValue

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