25 #include <boost/type_traits.hpp> 42 boost::is_signed<Integer>,
60 boost::is_unsigned<Integer>,
77 const Char Minus =
'-';
90 boost::is_signed<Integer>
109 boost::is_unsigned<Integer>
129 boost::is_integral<Integer>,
155 boost::is_integral<Integer>,
164 "9876543210123456789";
167 static_cast<const Char*
>(map) +
170 Char* carriage = str;
175 digits + (integer % 10));
189 const Char digit = *str;
209 boost::is_integral<Integer>,
238 boost::is_integral<Integer>
252 numeric_limits<Integer>::
317 precision_ = precision;
333 if (format.
width() > digitsQty)
336 format.
width() - digitsQty,
350 const Char Zero =
'0';
365 boost::is_integral<Integer>
381 numeric_limits<Integer>::
char Char
Character type alias.
void addIntegerPrecisionZeros(std::string &str, const FormatSpec &format, size_t digitsQty)
boost::enable_if< boost::is_unsigned< Integer >, bool >::type isNegative(Integer &)
boost::enable_if< boost::is_unsigned< Integer > >::type addNegativeSign(std::string &, Integer)
boost::enable_if< boost::is_integral< Integer >, size_t >::type digitsToStr(Char *str, Integer integer)
boost::enable_if< boost::is_integral< Integer > >::type integerToStr(std::string &str, const FormatSpec &format, Integer integer)
void addIntegerAlignmentSpace(std::string &str, const FormatSpec &format, size_t digitsQty)
#define ONIXS_SGXTITAN_OUCH_NAMESPACE_END
#define ONIXS_SGXTITAN_OUCH_NAMESPACE_BEGIN
boost::enable_if< boost::is_integral< Integer >, size_t >::type measureInteger(Integer integer)
boost::enable_if< boost::is_integral< Integer >, size_t >::type countDigits(Integer integer)