|
tlx
|
#include <algorithm>#include <functional>#include <iterator>Go to the source code of this file.
Namespaces | |
| namespace | tlx |
Functions | |
| template<typename InputIterator1, typename InputIterator2, typename OutputIterator, typename Comparator, typename Combine = std::plus< typename std::iterator_traits<InputIterator1>::value_type>> | |
| OutputIterator | merge_combine (InputIterator1 first1, InputIterator1 last1, InputIterator2 first2, InputIterator2 last2, OutputIterator result, Comparator cmp=Comparator(), Combine combine=Combine()) |
| Merge two sorted ranges and add all items comparing equal. | |