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

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

#include <normalize.hpp>

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

Public Member Functions

constexpr auto operator() (double factor) const
 Overload that returns an action closure to compose with other actions. More...
 
template<class Range , std::enable_if_t< ranges::range< Range >, int > = 0>
constexpr auto operator() (Range &&range) const -> Range &
 Overload that defines a default execution policy. More...
 
template<class Range , std::enable_if_t< ranges::range< Range >, int > = 0>
constexpr auto operator() (Range &&range, double factor) const -> Range &
 Overload that defines a default execution policy. More...
 
- Public Member Functions inherited from beluga::actions::detail::normalize_base_fn
template<class ExecutionPolicy , class Range , 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) const -> Range &
 Overload that uses a default normalization factor. More...
 
template<class ExecutionPolicy , class Range , 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, double factor) const -> Range &
 Overload that implements the normalize algorithm. More...
 
template<class ExecutionPolicy , std::enable_if_t< std::is_execution_policy_v< ExecutionPolicy >, int > = 0>
constexpr auto operator() (ExecutionPolicy policy) const
 Overload that returns an action closure to compose with other actions. More...
 
template<class ExecutionPolicy , std::enable_if_t< std::is_execution_policy_v< ExecutionPolicy >, int > = 0>
constexpr auto operator() (ExecutionPolicy policy, double factor) const
 Overload that returns an action closure to compose with other actions. More...
 
template<class Range , 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, double factor, ExecutionPolicy policy) const -> Range &
 Overload that re-orders arguments from an action closure. More...
 
template<class Range , 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, ExecutionPolicy policy) const -> Range &
 Overload that re-orders arguments from an action closure. More...
 

Detailed Description

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

Definition at line 130 of file normalize.hpp.

Member Function Documentation

◆ operator()() [1/3]

constexpr auto beluga::actions::detail::normalize_fn::operator() ( double  factor) const
inlineconstexpr

Overload that returns an action closure to compose with other actions.

Definition at line 146 of file normalize.hpp.

◆ operator()() [2/3]

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

Overload that defines a default execution policy.

Definition at line 141 of file normalize.hpp.

◆ operator()() [3/3]

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

Overload that defines a default execution policy.

Definition at line 135 of file normalize.hpp.


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


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