cMHN 1.2
C++ library for learning MHNs with pRC
Loading...
Searching...
No Matches
sort.hpp File Reference

Go to the source code of this file.

Namespaces

namespace  pRC
 

Functions

template<class C , IsSubscriptable T, class S = ResultOf<Subscript, T &, Index>>
requires IsInvocable<C, S, S> && IsAssignable<S>
static constexpr void pRC::sort (C const &compare, T &a, Size const k=T::size(), Size const d=0)
 
template<class C = Less, IsSubscriptable T, class S = ResultOf<Subscript, T &, Index>>
requires IsInvocable<C, S, S> && IsAssignable<S>
static constexpr void pRC::sort (T &a, Size const k=T::size(), Size const d=0)