fix to_string

fix from_string
fix filename typo
This commit is contained in:
bolero-MURAKAMI 2012-04-16 15:33:29 +09:00
parent c901c3058a
commit 09b4b56fad
6 changed files with 75 additions and 67 deletions

View file

@ -39,21 +39,21 @@ namespace sprout {
sprout::next(str, 2),
base ? base : 16,
IntType(),
sprout::detail::char_to_int<IntType>(*sprout::next(str, 2), base),
sprout::detail::char_to_int<IntType>(*sprout::next(str, 2), base ? base : 16),
negative
)
: sprout::detail::str_to_int_impl_1<IntType>(
sprout::next(str),
base ? base : 8,
IntType(),
sprout::detail::char_to_int<IntType>(*sprout::next(str), base),
sprout::detail::char_to_int<IntType>(*sprout::next(str), base ? base : 8),
negative
)
: sprout::detail::str_to_int_impl_1<IntType>(
str,
base ? base : 10,
IntType(),
sprout::detail::char_to_int<IntType>(*str, base),
sprout::detail::char_to_int<IntType>(*str, base ? base : 10),
negative
)
;