BloombergLP::bdldfp::DecimalNumGet::get

Parse a decimal value from the specified iterator range into value.

Synopsis

Declared in <bdldfp_decimal.h>

iter_type
get(
    iter_type begin,
    iter_type end,
    std::ios_base& str,
    std::ios_base::iostate& err,
    Decimal128& value) const;

Return Value

an iterator positioned after the last character consumed

Parameters

NameDescription
beginstart of the input iterator range
endend of the input iterator range
strstream base providing formatting state
errstream error state to update
valueobject to receive the parsed value