Provides a tag type for simple types. More...
#include <ndn-cxx/tag.hpp>
Public Member Functions | |
constexpr | SimpleTag (const T &value) noexcept |
Explicitly convertible from T . More... | |
constexpr const T & | get () const noexcept |
Returns the enclosed value. More... | |
operator T () const | |
Implicitly convertible to T . More... | |
Static Public Member Functions | |
static constexpr int | getTypeId () noexcept |
Provides a tag type for simple types.
T | the value type |
TypeId | the TypeId |
|
inlineexplicitconstexprnoexcept |
|
inlineconstexprnoexcept |
|
inlinestaticconstexprnoexcept |
|
inline |