Format value in the specified base into [first, last)].

Synopsis

Declared in <bslalg_numericformatterutil.h>

static
char*
toChars(
    char* first,
    char* last,
    long long value,
    int base = 10) noexcept;

Description

Format the specified signed long long integer value into `[first, last)`.

Return Value

pointer past the last character written, or null on failure

Parameters

Name

Description

first

beginning of the output character range

last

end of the output character range

value

integer value to format

base

numeric base for formatting

Created with MrDocs