|
tfel
|
copy copies N elements of a container to another. More...
#include </home/runner/work/tfel/tfel/include/TFEL/FSAlgorithm/copy.hxx>
Static Public Member Functions | |
| template<typename InputIterator, typename OutputIterator> | |
| TFEL_HOST_DEVICE static constexpr OutputIterator | exe (InputIterator p, OutputIterator q) noexcept |
copy copies N elements of a container to another.
| N | number of element to be copied. |
This documentation is mostly inspired from: http://www.sgi.com/tech/stl/copy.html
|
inlinestaticconstexprnoexcept |
copy the element pointed to by p to the element pointed to by q and the call copy<N-1>::exe. Since calls are inlined, this recursion has no cost at runtime.
| InputIterator | iterator to the element to be copied |
| OutputIterator | iterator to the place where this element will be copied |