Equivalents to std::min_element and std::max_element for homogeneous color bases. More...
Functions | |
template<typename P > | |
BOOST_FORCEINLINE auto | static_max (P const &p) -> typename element_const_reference_type< P >::type |
template<typename P > | |
BOOST_FORCEINLINE auto | static_max (P &p) -> typename element_reference_type< P >::type |
template<typename P > | |
BOOST_FORCEINLINE auto | static_min (P const &p) -> typename element_const_reference_type< P >::type |
template<typename P > | |
BOOST_FORCEINLINE auto | static_min (P &p) -> typename element_reference_type< P >::type |
Equivalents to std::min_element and std::max_element for homogeneous color bases.
Example: