Created
May 21, 2014 03:05
-
-
Save foobit/88e909a782c40ffc7723 to your computer and use it in GitHub Desktop.
C++11 fancy iteration
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
bool isNumeric(const std::string& input) | |
{ | |
return std::all_of(input.begin(), input.end(), ::isdigit); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment