Write the string representation of value into valueStorage.
Declared in <bslfmt_formatterintegralbase.h>
template<class t_ACTUAL_VALUE_TYPE>
t_CHAR*
formatValue(
t_CHAR* valueStorage,
int storageSize,
t_ACTUAL_VALUE_TYPE value) const;
Create the string representation of the specified value and write it into the character buffer starting at the specified valueStorage 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 or the value is not in the range of representable values for the (template parameter) t_CHAR with character type specification.
address one past the last character written
| Name | Description |
|---|---|
| valueStorage | buffer that receives the formatted value |
| storageSize | size of valueStorage in characters |
| value | value whose string representation is produced |