operator""_d64 overloads

Synopses

Declared in <bdldfp_decimal.h>

Produce an object of the indicated return type by parsing the specified str having the specified len excluding the terminating null character that represents a floating‐point number written in both fixed and scientific notations. These user‐defined literal suffixes can be applied to both numeric and string literals, (i.e., 1.2_d128, "1.2"_d64 or "inf"_d64). The resulting decimal object is initialized as follows:

bdldfp::Decimal64
operator""_d64(char const* str);

User‐defined literal operator creating a Decimal64 from the specified str.

bdldfp::Decimal64
operator""_d64(
    char const* str,
    std::size_t len);

Created with MrDocs