|
inlineconstexpr |
#include <eve/module/algo/algo/copy_if.hpp>
Defined in Header
eve::algo::views::map
or eve::algo::transform_copy_if
.The main difference from std::copy_if is that it accepts output range and not an output iterator. If the output doesn't have enough space, algorithm will fill all of the avaliable output and then stop. The interface difference allows eve to store more then just selected elements which is important for efficiency.
Tuning:
eve::algo::for_each
, assuming you can overallocate the output.** Parameters **
in
** Return value **
relaxed_iterator past the last written element.