Run Code
|
API
|
Code Wall
|
Users
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
lambda capture
//g++ 5.4.0 #include <iostream> #include <algorithm> #include <vector> int main() { const int controlValue = 5; std::vector<int> vect{ 0, 1, 2, 3 }; const auto result = std::any_of(vect.begin(), vect.end(), [](const int& item) { return item == controlValue; }); }
run
|
edit
|
history
|
help
0
Please
log in
to post a comment.
numberOftweets
Ploshtina na krug
My billing system
Templet
1
base base
СПКИ АП КЭП 3
scemo le
floyd alfa 1
vertical sum
Please log in to post a comment.