mp_units::utility::parse_nonnegative_int

Synopsis

Declared in <mp-units/utility/format.h>

template<std::forward_iterator It>
[[nodiscard]]
constexpr
int
parse_nonnegative_int(
    It& begin,
    It end,
    int error_value);

Return Value

NOTE

The return value should not be discarded.