Create the prefix for output of the specified value and write it into the character buffer starting a the specified prefixStorage and having the specified storageSize. Return the address one past the last character. Throw bsl::format_error if parsed format specification is intended for non‐integer type.

Synopsis

Declared in <bslfmt_formatterintegralbase.h>

template<class t_ACTUAL_VALUE_TYPE>
char*
formatPrefix(
    char* prefixStorage,
    int storageSize,
    t_ACTUAL_VALUE_TYPE value) const;

Created with MrDocs