hpx/parallel/container_algorithms/contains.hpp#
Defined in header hpx/parallel/container_algorithms/contains.hpp.
See Public API for a list of names and headers that are part of the public HPX API.
-
namespace hpx
-
namespace parallel#
-
namespace ranges#
-
-
struct contains_t : public hpx::detail::tag_dispatch<contains_t, hpx::detail::no_base>#
Public Types
-
using base_type = hpx::detail::tag_dispatch<contains_t, hpx::detail::no_base>#
Public Functions
-
template<typename ExPolicy, typename Iter, typename Sent, typename Proj = hpx::identity, typename T = std::remove_cvref_t<std::invoke_result_t<Proj&, std::iter_value_t<Iter>&>>>
inline decltype(auto) operator()(ExPolicy &&policy, Iter first, Sent last, T &&value, Proj proj = Proj()) const# Supports list-initialized values in policy iterator calls.
-
template<typename ExPolicy, typename Rng, typename Proj = hpx::identity, typename T = std::remove_cvref_t<std::invoke_result_t<Proj&, std::ranges::range_value_t<Rng>&>>>
inline decltype(auto) operator()(ExPolicy &&policy, Rng &&rng, T &&value, Proj proj = Proj()) const# Supports list-initialized values in policy range calls.
Public Static Functions
-
template<typename Iterator, typename Sentinel, typename T, typename Proj = hpx::identity>
static inline bool invoke_default(Iterator first, Sentinel last, T const &val, Proj &&proj = Proj())#
-
template<typename Rng, typename T, typename Proj = hpx::identity>
static inline bool invoke_default(Rng &&rng, T const &t, Proj proj = Proj())#
-
template<typename ExPolicy, typename Iterator, typename Sentinel, typename Proj = hpx::identity, typename T = std::remove_cvref_t<std::invoke_result_t<Proj&, std::iter_value_t<Iterator>&>>>
static inline parallel::util::detail::algorithm_result_t<ExPolicy, bool> invoke_default(ExPolicy &&policy, Iterator first, Sentinel last, T &&val, Proj proj = Proj())#
-
template<typename ExPolicy, typename Rng, typename Proj = hpx::identity, typename T = std::remove_cvref_t<std::invoke_result_t<Proj&, std::ranges::range_value_t<Rng>&>>>
static inline parallel::util::detail::algorithm_result_t<ExPolicy, bool> invoke_default(ExPolicy &&policy, Rng &&rng, T &&t, Proj proj = Proj())#
-
using base_type = hpx::detail::tag_dispatch<contains_t, hpx::detail::no_base>#
-
struct contains_subrange_t : public hpx::detail::tag_dispatch<contains_subrange_t, hpx::detail::no_base>#
Public Static Functions
-
template<typename FwdIter1, typename Sent1, typename FwdIter2, typename Sent2, typename Pred = ranges::equal_to, typename Proj1 = hpx::identity, typename Proj2 = hpx::identity>
static inline bool invoke_default(FwdIter1 first1, Sent1 last1, FwdIter2 first2, Sent2 last2, Pred pred = Pred(), Proj1 &&proj1 = Proj1(), Proj2 &&proj2 = Proj2())#
-
template<typename Rng1, typename Rng2, typename Pred = hpx::ranges::equal_to, typename Proj1 = hpx::identity, typename Proj2 = hpx::identity>
static inline bool invoke_default(Rng1 &&rng1, Rng2 &&rng2, Pred pred = Pred(), Proj1 proj1 = Proj1(), Proj2 proj2 = Proj2())#
-
template<typename ExPolicy, typename FwdIter1, typename Sent1, typename FwdIter2, typename Sent2, typename Pred = std::ranges::equal_to, typename Proj1 = hpx::identity, typename Proj2 = hpx::identity>
static inline parallel::util::detail::algorithm_result_t<ExPolicy, bool> invoke_default(ExPolicy &&policy, FwdIter1 first1, Sent1 last1, FwdIter2 first2, Sent2 last2, Pred pred = Pred(), Proj1 proj1 = Proj1(), Proj2 proj2 = Proj2())#
-
template<typename ExPolicy, typename Rng1, typename Rng2, typename Pred = std::ranges::equal_to, typename Proj1 = hpx::identity, typename Proj2 = hpx::identity>
static inline parallel::util::detail::algorithm_result_t<ExPolicy, bool> invoke_default(ExPolicy &&policy, Rng1 &&rng1, Rng2 &&rng2, Pred pred = Pred(), Proj1 proj1 = Proj1(), Proj2 proj2 = Proj2())#
-
template<typename FwdIter1, typename Sent1, typename FwdIter2, typename Sent2, typename Pred = ranges::equal_to, typename Proj1 = hpx::identity, typename Proj2 = hpx::identity>
-
struct contains_t : public hpx::detail::tag_dispatch<contains_t, hpx::detail::no_base>#
-
namespace parallel#