Answers for "std::copy C ++"

0

std::copy C ++

template<class InputIterator, class OutputIterator>
  OutputIterator copy (InputIterator first, InputIterator last, OutputIterator result)
{
  while (first!=last) {
    *result = *first;
    ++result; ++first;
  }
  return result;
}
Posted by: Guest on June-06-2021

Browse Popular Code Answers by Language