Template Function iox::algorithm::uniqueMergeSortedContainers
Defined in File algorithm.hpp
Function Documentation
-
template<typename Container>
Container iox::algorithm::uniqueMergeSortedContainers(const Container &v1, const Container &v2) noexcept Merging two sorted containers so that the result is a sorted container where every element is contained only once.
- Template Parameters:
Container – container type which has to support emplace_back() and size()
- Parameters:
v1 – [in] the first sorted input container
v2 – [in] the second sorted input container
- Returns:
sorted container which contains the elements of v1 and v2 and where every element is unique