Classes | Namespaces | Functions
MergeVectorTools.h File Reference
#include "small_vector/small_vector.h"
#include <vector>
#include <algorithm>
#include <type_traits>

Classes

struct  PLMD::mergeVectorTools::has_size_and_data< T, typename >
 
struct  PLMD::mergeVectorTools::has_size_and_data< T, std::void_t< decltype(std::declval< T >().size()), decltype(std::declval< T >().data())> >
 

Namespaces

 PLMD
 
 PLMD::mergeVectorTools
 

Functions

template<class C , class D >
auto PLMD::mergeVectorTools::mergeSortedVectors (C &vecs, std::vector< D > &result) -> typename std::enable_if< has_size_and_data< C >::value, void >::type
 
template<class C >
static void PLMD::mergeVectorTools::mergeSortedVectors (const C *const *vecs, std::size_t size, std::vector< typename C::value_type > &result)
 Merge sorted vectors. More...