Iros
 
Loading...
Searching...
No Matches
di::util::detail::ClampFunction Struct Reference

#include <di/util/clamp.h>

Public Member Functions

template<typename T, typename Proj = function::Identity, concepts::IndirectStrictWeakOrder< meta::Projected< T const *, Proj > > Comp = function::Compare>
constexpr auto operator() (T const &value, T const &min, T const &max, Comp comp={}, Proj proj={}) const -> T const &
 

Member Function Documentation

◆ operator()()

template<typename T, typename Proj = function::Identity, concepts::IndirectStrictWeakOrder< meta::Projected< T const *, Proj > > Comp = function::Compare>
auto di::util::detail::ClampFunction::operator() ( T const & value,
T const & min,
T const & max,
Comp comp = {},
Proj proj = {} ) const -> T const&
inlineconstexpr

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