c_copy overloads
Declared in <absl/algorithm/container.h>
Container-based version of the <algorithm> std::copy() function to copy a container's elements into an iterator.
template<
typename InputSequence,
typename OutputIterator>
constexpr
/* implementation-defined */
c_copy(
InputSequence const& input,
OutputIterator&& output);
» more...
Copies elements from input to output. absl::c_copy(input, output) is equivalent to `std::copy(std::begin(input), std::end(input), std::begin(output))`.
template<
typename InputSequence,
typename OutputRange>
constexpr
/* implementation-defined */
c_copy(
InputSequence const& input,
OutputRange&& output);
» more...
output.| Name | Description |
|---|---|
| input | The container whose elements to copy. |
| output | The output iterator receiving the copied elements. |