Struct normalize_fn

Inheritance Relationships

Base Type

Struct Documentation

struct normalize_fn : public beluga::actions::detail::normalize_base_fn

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

Public Functions

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

Overload that defines a default execution policy.

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

Overload that defines a default execution policy.

inline constexpr auto operator()(double factor) const

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