Function operator""_i

Synopsis

#include <include/type_safe/types.hpp>

template <char... Digits>
constexpr int_t operator""_i()

Description

\module types

Source

Lines 206-211 in include/type_safe/types.hpp.

template <char... Digits>
constexpr int_t operator"" _i()
{
    // int is at least 16 bits
    return int_t(detail::parse_signed<std::int16_t, Digits...>());
}





Add Discussion as Guest

Log in