NiHu  2.0
misc.hpp File Reference

miscellaneous functions and metafunctions More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

template<class InputIterator , class OutputIterator , class Predicate >
InputIterator NiHu::move_if (InputIterator first, InputIterator last, OutputIterator result, Predicate pred)
 move selected elements from a range to an other More...
 

Detailed Description

miscellaneous functions and metafunctions

Definition in file misc.hpp.

Function Documentation

◆ move_if()

template<class InputIterator , class OutputIterator , class Predicate >
InputIterator NiHu::move_if ( InputIterator  first,
InputIterator  last,
OutputIterator  result,
Predicate  pred 
)

move selected elements from a range to an other

Template Parameters
InputIteratorthe input iterator
OutputIteratorthe output iterator
Predicatethe predicate
Parameters
[in]firstbegin iterator of input range
[in]lastend iterator of input range
[in]resultbegin iterator of output range
[in]predthe predicate

Definition at line 20 of file misc.hpp.