BloombergLP::bdldfp::operator""_d64

Parse the specified literal text into a decimal floating-point value.

Synopses

Declared in <bdldfp_decimal.h>

Parse the specified literal text into a decimal floating-point value.

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

Parse the specified literal text into a decimal floating-point value.

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

Return Value

  • decimal object of the return type initialized to infinity with the same sign
  • the parsed Decimal64 value

Parameters

NameDescription
strcharacter sequence to parse
lenlength of str, excluding the terminating null