operator""_d32 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_d32, "1.2"_d32 or "inf"_d32). The resulting decimal object is initialized as follows:

bdldfp::Decimal32
operator""_d32(char const* str);

Return a Decimal32 object having the value of the specified str literal having the specified len.

bdldfp::Decimal32
operator""_d32(
    char const* str,
    std::size_t len);

Created with MrDocs