const char *digits = (f.get_uppercase() ? udigits : ldigits);
if(v)
{
- typename MatchingInt<T>::UnsignedType w = Absolute<T>::eval(v);
+ typename std::make_unsigned<T>::type w = Absolute<T>::eval(v);
while(w)
{
*--ptr = digits[w%base];
if(s.empty())
throw lexical_error("conversion of '' to integer");
- string::const_iterator i = s.begin();
+ auto i = s.begin();
// See if the input starts with a sign
bool neg = false;
if(s.empty())
throw lexical_error("conversion of '' to floating-point");
- string::const_iterator i = s.begin();
+ auto i = s.begin();
// See if the input starts with a sign
bool neg = false;