Export (0) Print
Expand All
max
min
Expand Minimize
This topic has not yet been rated - Rate this topic

unchecked_reverse_copy 

Same as reverse_copy, but allows the use of an unchecked iterator as output iterator when _SECURE_SCL=1 is defined. unchecked_reverse_copy is defined in the stdext namespace.

NoteNote

This algorithm is a Microsoft extension to the Standard C++ Library. Code implemented using this algorithm will not be portable.


template<class BidirectionalIterator, class OutputIterator>
   OutputIterator unchecked_reverse_copy(
      BidirectionalIterator _First,
      BidirectionalIterator _Last,
      OutputIterator _Result
   );

Parameters

_First

A bidirectional iterator pointing to the position of the first element in the source range within which the elements are being permuted.

_Last

A bidirectional iterator pointing to the position one past the final element in the source range within which the elements are being permuted.

_Result

An output iterator pointing to the position of the first element in the destination range to which elements are being copied.

An output iterator pointing to the position one past the final element in the destination range to where the altered sequence of elements is being copied.

See reverse_copy for a code sample.

For more information on checked iterators, see Checked Iterators.

Header: <algorithm>

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.