Function operator""_f

Synopsis

#include <include/type_safe/types.hpp>

constexpr float_t operator""_f(long double val)

Description

\module types

Source

Lines 231-234 in include/type_safe/types.hpp.

constexpr float_t operator"" _f(long double val)
{
    return float_t(static_cast<std::float_t>(val));
}





Add Discussion as Guest

Log in