libycxx

concept

std::mergeable

Scope
std
cppreference
std::mergeable

Synopsis

template<
    class I1,
    class I2,
    class Out,
    class R = ranges::less,
    class P1 = identity,
    class P2 = identity>
concept mergeable = input_iterator<I1> && input_iterator<I2> && weakly_incrementable<Out> &&
                    indirectly_copyable<I1, Out> && indirectly_copyable<I2, Out> &&
                    indirect_strict_weak_order<R, projected<I1, P1>, projected<I2, P2>>;