J>>bool is_integer(const string& number) J>>{ J>> return strspn(s, "-0123456789") == s.length(); J>>} J>>