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;