permlib 0.2.9
Library for permutation computations
|
STL namespace. More...
Functions | |
template<typename InputIterator, typename OutputIterator, typename Predicate> | |
OutputIterator | copy_if (InputIterator begin, InputIterator end, OutputIterator destBegin, Predicate p) |
copies elements of (begin to end) to destBegin if they match the given predicate | |
STL namespace.
OutputIterator std::copy_if | ( | InputIterator | begin, |
InputIterator | end, | ||
OutputIterator | destBegin, | ||
Predicate | p ) |
copies elements of (begin to end) to destBegin if they match the given predicate
due to Meyers, Effective STL, p. 157 (Item 36)