Created
October 6, 2017 11:14
-
-
Save deque-blog/fdaced63a00dec3a235481dfbaf92a10 to your computer and use it in GitHub Desktop.
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
std::vector<int> ints = {1, 2, 3}; | |
for_each<int>(ints.begin(), ints.end(), [](int i) { | |
std::cout << i << '\n'; | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment