tetl 0.1.0
Embedded Template Library
Loading...
Searching...
No Matches
inplace_merge.hpp File Reference

Go to the source code of this file.

Namespaces

namespace  etl
 

Functions

template<typename BidirIt, typename Compare>
constexpr auto inplace_merge (BidirIt begin, BidirIt mid, BidirIt end, Compare comp) -> void
 Merges two consecutive sorted ranges [first, middle) and [middle, last) into one sorted range [first, last).
 
template<typename BidirIt>
constexpr auto inplace_merge (BidirIt first, BidirIt mid, BidirIt last) -> void