-
-
Save CrazyPython/be933ac13243f4db9c2a6155c63ae9b2 to your computer and use it in GitHub Desktop.
My slow tokenize implementation
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
vector<string> inline tokenize(string str) { | |
istringstream iss(str); | |
return {istream_iterator<string>{iss}, istream_iterator<string>{}}; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment