This class provides a wrapper around a buffer of the specified (template parameter) CHARTYPE. CHARTYPE shall be either plain character type char or wide character type wchar_t. The width of wchar_t is compiler-specific and can be as small as 8 bits. The template parameter WCHAR_8_BITS shall be true if wchar_t and char widths are the same, i.e. 8 bits, and false otherwise. This class provides accessors to the beginning and the end of the buffer of CHARTYPE characters.
Declared in <bdldfp_decimal.h>
template<
class CHARTYPE,
bool WCHAR_8_BITS>
class DecimalNumPut_WideBufferWrapper;
| Name | Description |
|---|---|
DecimalNumPut_WideBufferWrapper<wchar_t, false> | This class is specialization of the template WideBufferWrapper<CHARTYPE, WCHAR_8_BIT> for wchar_t type which width exceeds 8 bits. |
DecimalNumPut_WideBufferWrapper<char, WCHAR_8_BIT> | This class is specialization of the template WideBufferWrapper<CHARTYPE, WCHAR_8_BITS> for char type and wchar_t type which width is 8 bits. |