kblib 0.2.3
General utilities library for modern C++
kblib::detail_sort::sort_transform_impl< RandomAccessIt, UnaryOperation, std::less< LessT >, SortKey, small_size, true, true, true, true > Struct Template Reference

Sort implementation for pointer to member object of integral type with default sorting, so we can do radix sort. More...

#include <kblib/sort.h>

Static Public Member Functions

static constexpr auto inplace (RandomAccessIt begin, const RandomAccessIt end, UnaryOperation &&transform, std::less< LessT > &&compare) -> void
 

Detailed Description

template<typename RandomAccessIt, typename UnaryOperation, typename LessT, typename SortKey, std::size_t small_size>
struct kblib::detail_sort::sort_transform_impl< RandomAccessIt, UnaryOperation, std::less< LessT >, SortKey, small_size, true, true, true, true >

Sort implementation for pointer to member object of integral type with default sorting, so we can do radix sort.

Definition at line 592 of file sort.h.

Member Function Documentation

◆ inplace()

template<typename RandomAccessIt , typename UnaryOperation , typename LessT , typename SortKey , std::size_t small_size>
static constexpr auto kblib::detail_sort::sort_transform_impl< RandomAccessIt, UnaryOperation, std::less< LessT >, SortKey, small_size, true, true, true, true >::inplace ( RandomAccessIt  begin,
const RandomAccessIt  end,
UnaryOperation &&  transform,
std::less< LessT > &&  compare 
) -> void
inlinestaticconstexpr

TODO(killerbee13): write efficient inplace radix sort_transform

Definition at line 594 of file sort.h.


The documentation for this struct was generated from the following file: