BloombergLP::bdlb::NumericParseUtil::parseShort

Same as the overload not taking remainder, but store in the specified remainder the remainder of the inputString immediately following the successfully parsed text, or the position at which a parse failure was detected.

Synopsis

Declared in <bdlb_numericparseutil.h>

static
int
parseShort(
    short* result,
    std::string_view* remainder,
    std::string_view const& inputString,
    int base = 10);