Struct propagate_fn

Inheritance Relationships

Base Type

Struct Documentation

struct propagate_fn : public beluga::actions::detail::propagate_base_fn

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

Public Functions

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

Overload that defines a default execution policy.

template<class StateSamplingFunction>
inline constexpr auto operator()(StateSamplingFunction fn) const

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