cMHN 1.1
C++ library for learning MHNs with pRC
Loading...
Searching...
No Matches
Namespaces | Functions
sort.hpp File Reference
#include <prc/core/basic/type_traits.hpp>
#include <prc/core/functors/less.hpp>
#include <prc/core/functors/subscript.hpp>

Go to the source code of this file.

Namespaces

namespace  pRC
 

Functions

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