Skip to content

EnumUtils

Functions

Name
template <typename T &gt; <br>autoname(T val)
template <typename T &gt; <br>std::optional< T >value(const std::string & str)
template <typename T &gt; <br>std::optional< T >value(std::string_view str)

Functions Documentation

function name

cpp
template <typename T >
auto name(
    T val
)
template <typename T >
auto name(
    T val
)

function value

cpp
template <typename T >
std::optional< T > value(
    const std::string & str
)
template <typename T >
std::optional< T > value(
    const std::string & str
)

function value

cpp
template <typename T >
std::optional< T > value(
    std::string_view str
)
template <typename T >
std::optional< T > value(
    std::string_view str
)

Updated on 2024-03-16 at 19:15:01 +0000