xentara-utils v2.0.1
The Xentara Utility Library
Loading...
Searching...
No Matches
xentara::literals::cbor_literals Namespace Reference

Inline namespace containing literals for CBOR values. More...

Functions

consteval auto operator""_cborAlternativeValue (unsigned long long value) -> utils::cbor::AlternativeValue
 Literal operator for creating literal CBOR alternative values.
 
consteval auto operator""_cborSimpleValue (unsigned long long value) -> utils::cbor::SimpleValue
 Literal operator for creating literal CBOR simple values.
 
consteval auto operator""_cborTag (unsigned long long value) -> utils::cbor::Tag
 Literal operator for creating a CBOR data item tag.
 

Detailed Description

Inline namespace containing literals for CBOR values.

This inline namespace contains user defined literals for constructing literals of type utils::cbor::SimpleValue and utils::cbor::Tag.

You can use any of the following using-directives to gain access to the user defined literals in this namespace:

Function Documentation

◆ operator""_cborAlternativeValue()

consteval auto xentara::literals::cbor_literals::operator""_cborAlternativeValue ( unsigned long long  value) -> utils::cbor::AlternativeValue

Literal operator for creating literal CBOR alternative values.

◆ operator""_cborSimpleValue()

consteval auto xentara::literals::cbor_literals::operator""_cborSimpleValue ( unsigned long long  value) -> utils::cbor::SimpleValue

Literal operator for creating literal CBOR simple values.

◆ operator""_cborTag()

consteval auto xentara::literals::cbor_literals::operator""_cborTag ( unsigned long long  value) -> utils::cbor::Tag

Literal operator for creating a CBOR data item tag.