BloombergLP::bdldfp::operator""_d128

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

Synopsis

Declared in <bdldfp_decimal.h>

bdldfp::Decimal128
operator""_d128(
    char const* str,
    std::size_t len);

Return Value

the parsed Decimal128 value

Parameters

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