ase/sortnet.hh file


Namespaces

namespace Ase
The Anklang C++ API namespace.

Classes

template <class T, class Less = std::less<T>>
class Ase::SortedVector
Vector that keeps its elements sorted.

Functions

template <class RandomIt, class Compare>
void fixed_sort(RandomIt first, RandomIt last, Compare comp = std::less<typename std::iterator_traits<RandomIt>::value_type>())
Use sorting networks to sort containers <= 16 elements without allocations.