Range-v3
Range algorithms, views, and actions for the Standard Library
unique_copy.hpp File Reference

Typedefs

template<typename I , typename O >
using ranges::unique_copy_result = detail::in_out_result< I, O >
 

Functions

template<typename I , typename S , typename O , typename C = equal_to, typename P = identity>
auto ranges::unique_copy (I first, S last, O out, C pred=C{}, P proj=P{}) -> unique_copy_result< I, O > requires input_iterator< I > &&sentinel_for< S, I > &&indirect_relation< C, projected< I, P >> &&weakly_incrementable< O > &&indirectly_copyable< I, O > &&(forward_iterator< I >||forward_iterator< O >||indirectly_copyable_storable< I, O >)
 template function unique_copy More...
 
template<typename Rng , typename O , typename C = equal_to, typename P = identity>
auto ranges::unique_copy (Rng &&rng, O out, C pred=C{}, P proj=P{}) -> unique_copy_result< safe_iterator_t< Rng >, O > requires input_range< Rng > &&indirect_relation< C, projected< iterator_t< Rng >, P >> &&weakly_incrementable< O > &&indirectly_copyable< iterator_t< Rng >, O > &&(forward_iterator< iterator_t< Rng >>||forward_iterator< O >||indirectly_copyable_storable< iterator_t< Rng >, O >)