#include <di/util/clamp.h>
|
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 & |
|
◆ 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: