Loading...
Searching...
No Matches
Public Types | Public Member Functions | Public Attributes | List of all members
literal< T > Struct Template Reference

#include <literal.h>

Public Types

using type = T
 

Public Member Functions

constexpr literal (T val=0)
 Constructor.
 
constexpr operator T (void) const
 Cast to T.
 

Public Attributes

value
 data
 

Member Typedef Documentation

◆ type

using type = T

Constructor & Destructor Documentation

◆ literal()

constexpr literal ( val = 0)
inlineconstexpr

Constructor.

Member Function Documentation

◆ operator T()

constexpr operator T ( void  ) const
inlineconstexpr

Cast to T.

Member Data Documentation

◆ value

T value

data


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