RESTinio
|
Helper template for defining tagged scalar types. More...
#include <tagged_scalar.hpp>
Public Member Functions | |
constexpr | tagged_scalar_t (Scalar value) noexcept |
RESTINIO_NODISCARD constexpr Scalar | value () const noexcept |
Private Attributes | |
Scalar | m_value |
Helper template for defining tagged scalar types.
Usage example:
Definition at line 53 of file tagged_scalar.hpp.
|
inlineexplicitconstexprnoexcept |
Definition at line 61 of file tagged_scalar.hpp.
|
inlineconstexprnoexcept |
Definition at line 67 of file tagged_scalar.hpp.
|
private |
Definition at line 58 of file tagged_scalar.hpp.