|
|
|
|
|
|
|
|
|
|
|
|||||||
#include <stlsoft_printf_traits.h>
Public Types | |
| enum | { size_min, size_max, size } |
Static Public Methods | |
| ss_char_a_t const * | format_a () |
| Returns the appropriate printf format for the type. | |
| ss_char_w_t const * | format_w () |
| Returns the appropriate wprintf format for the type. | |
printf_traits is a traits class for acquiring enum values representing the lengths, when expressed in string form, of the minimum and maximum values of the type, and the maximum of the two. The lengths are inclusive of the null terminator.
printf_traits<ss_sint16_t>::size_min == 6
printf_traits<ss_sint16_t>::size_max == 7
printf_traits<ss_sint16_t>::size == 7
| T | The type |
|
|
|
|
|
Returns the appropriate printf format for the type.
|
|
|
Returns the appropriate wprintf format for the type.
|
|
|
| STLSoft Libraries documentation © Synesis Software Pty Ltd, 2001-2004 |