Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CPP

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;
}
Source by www.cplusplus.com #
 
PREVIOUS NEXT
Tagged: #C
ADD COMMENT
Topic
Name
3+9 =