Public Member Functions | List of all members
beluga::actions::detail::propagate_fn Struct Reference

Implementation detail for a propagate range adaptor object with a default execution policy. More...

#include <propagate.hpp>

Inheritance diagram for beluga::actions::detail::propagate_fn:
Inheritance graph
[legend]

Public Member Functions

template<class Range , class StateSamplingFunction , std::enable_if_t< ranges::range< Range >, int > = 0>
constexpr auto operator() (Range &&range, StateSamplingFunction fn) const -> Range &
 Overload that defines a default execution policy. More...
 
template<class StateSamplingFunction >
constexpr auto operator() (StateSamplingFunction fn) const
 Overload that returns a view closure to compose with other views. More...
 
- Public Member Functions inherited from beluga::actions::detail::propagate_base_fn
template<class ExecutionPolicy , class Range , class StateSamplingFunction , std::enable_if_t< std::is_execution_policy_v< std::decay_t< ExecutionPolicy >>, int > = 0, std::enable_if_t< ranges::range< Range >, int > = 0>
constexpr auto operator() (ExecutionPolicy &&policy, Range &range, StateSamplingFunction fn) const -> Range &
 Overload that implements the propagate algorithm. More...
 
template<class ExecutionPolicy , class StateSamplingFunction , std::enable_if_t< std::is_execution_policy_v< ExecutionPolicy >, int > = 0>
constexpr auto operator() (ExecutionPolicy policy, StateSamplingFunction fn) const
 Overload that returns a view closure to compose with other views. More...
 
template<class Range , class StateSamplingFunction , class ExecutionPolicy , std::enable_if_t< ranges::range< Range >, int > = 0, std::enable_if_t< std::is_execution_policy_v< ExecutionPolicy >, int > = 0>
constexpr auto operator() (Range &&range, StateSamplingFunction fn, ExecutionPolicy policy) const -> Range &
 Overload that re-orders arguments from a view closure. More...
 

Detailed Description

Implementation detail for a propagate range adaptor object with a default execution policy.

Definition at line 103 of file propagate.hpp.

Member Function Documentation

◆ operator()() [1/2]

template<class Range , class StateSamplingFunction , std::enable_if_t< ranges::range< Range >, int > = 0>
constexpr auto beluga::actions::detail::propagate_fn::operator() ( Range &&  range,
StateSamplingFunction  fn 
) const -> Range&
inlineconstexpr

Overload that defines a default execution policy.

Definition at line 111 of file propagate.hpp.

◆ operator()() [2/2]

template<class StateSamplingFunction >
constexpr auto beluga::actions::detail::propagate_fn::operator() ( StateSamplingFunction  fn) const
inlineconstexpr

Overload that returns a view closure to compose with other views.

Definition at line 117 of file propagate.hpp.


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


beluga
Author(s):
autogenerated on Tue Jul 16 2024 02:59:54