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

Name

Description

begin

start of the input iterator range

end

end of the input iterator range

str

stream base providing formatting state

err

stream error state to update

value

object to receive the parsed value

Created with MrDocs