checked_unique_copy
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Same as unique_copy but enforces the use of a checked iterator as output iterator. checked_unique_copy is defined in the stdext namespace.
Note
|
|---|
|
This algorithm is a Microsoft extension to the Standard C++ Library. Code implemented using this algorithm will not be portable. |
template<class InputIterator, class OutputIterator>
OutputIterator checked_unique_copy(
InputIterator_First,
InputIterator_Last,
OutputIterator_Result
);
template<class InputIterator, class OutputIterator, class BinaryPredicate>
OutputIterator checked_unique_copy(
InputIterator_First,
InputIterator_Last,
OutputIterator_Result,
BinaryPredicate_Comp,
);
See unique_copy for a code sample.
For more information on checked iterators, see Checked Iterators.
Note