Copies n elements from an input range to an output range.
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);
A pair holding the input and output iterators advanced past the copied range.
| 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. |