#include <hydra/detail/Config.h>
#include <hydra/detail/BackendPolicy.h>
#include <utility>
#include <hydra/detail/external/hydra_thrust/sort.h>
#include <hydra/Range.h>
Go to the source code of this file.
|
| hydra |
| Generic policies definition.
|
|
|
template<typename Iterable , typename Iterator = decltype(std::declval<Iterable>().begin())> |
std::enable_if< hydra::detail::is_iterable< Iterable >::value, Range< decltype(std::declval< Iterable & >).begin())> >::type | hydra::sort (Iterable &iterable) |
|
template<typename Iterable , typename Functor , typename Iterator = decltype(std::declval<Iterable>().begin())> |
std::enable_if< hydra::detail::is_iterable< Iterable >::value, Range< decltype(std::declval< Iterable & >).begin())> >::type | hydra::sort (Iterable &iterable, Functor const &comparator) |
|
template<typename Iterable , typename Iterable_Key , typename Iterator = decltype(std::declval<Iterable>().begin()), typename Iterator_Key = decltype(std::declval<Iterable_Key>().begin()), typename Value_Key = decltype(*std::declval<Iterator_Key>().begin())> |
std::enable_if< hydra::detail::is_iterable< Iterable >::value, Range< decltype(std::declval< Iterable & >).begin())> >::type | hydra::sort_by_key (Iterable &iterable, Iterable_Key &keys) |
|
template<typename Iterable , typename Iterator_Key , typename Functor , typename Iterator = decltype(std::declval<Iterable>().begin()), typename Value_Key = decltype(*std::declval<Range<Iterator_Key,Functor>>().begin())> |
std::enable_if< hydra::detail::is_iterable< Iterable >::value, Range< decltype(std::declval< Iterable & >).begin())> >::type | hydra::sort_by_key (Iterable &iterable, Range< Iterator_Key, Functor > keys) |
|
◆ SORT_INL_