Copies n elements from an input range to an output range.
Synopsis
Declared in <folly/FBString.h>
template<
class InIt,
class OutIt>
std::pair<InIt, OutIt>
copy_n(
InIt b,
std::iterator_traits<InIt>::difference_type n,
OutIt d);
Return Value
A pair holding the input and output iterators advanced past the copied range.
Parameters
Name |
Description |
b |
Iterator to the first element to copy. |
n |
The number of elements to copy. |
d |
Output iterator to the start of the destination range. |
Created with MrDocs