Run Code
|
API
|
Code Wall
|
Users
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Blog
copy_if c++98
//copy_if c++98 #include <boost/range/algorithm.hpp> #include <boost/range/adaptors.hpp> #include <array> #include <iterator> #include <iostream> #include <boost/phoenix/phoenix.hpp> int main() { std::array<int, 6> a{{0, 5, 2, 1, 3, 4}}; boost::copy(boost::adaptors::filter(a, boost::phoenix::placeholders::arg1 >=3), std::ostream_iterator<int>{std::cout, ","}); }
run
|
edit
|
history
|
help
0
Please
log in
to post a comment.
barai_1
Switch case
2
cref
fcyyfc
Roots of a Quadratic Equation
Breakfast Static Function
Segment Tree
multiply_without_asterisk
Listas enlazadas - merge
Please log in to post a comment.