Created
March 2, 2014 11:18
-
-
Save trikitrok/883ee7a91934c6d5d402 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
std::vector<std::string> NumbersExtractor::filterOutNotNumericTokens(const std::vector<std::string> & tokens) const { | |
std::vector<std::string> numericTokens; | |
std::copy_if(tokens.begin(), tokens.end(), | |
std::back_inserter(numericTokens), | |
StringUtils::isAnInteger); | |
return numericTokens; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment