Function operator""_u8

Synopsis

#include <include/type_safe/types.hpp>

template <char... Digits>
constexpr uint8_t operator""_u8()

Description

\module types

Source

Lines 107-111 in include/type_safe/types.hpp.

template <char... Digits>
constexpr uint8_t operator"" _u8()
{
    return uint8_t(detail::parse_unsigned<std::uint8_t, Digits...>());
}





Add Discussion as Guest

Log in