...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
IsClamped algorithm.
Ivan Matek, Marshall Clow
namespace boost { namespace algorithm { template<typename T, typename Pred> BOOST_CXX14_CONSTEXPR bool is_clamped(T const &, typename boost::type_identity< T >::type const &, typename boost::type_identity< T >::type const &, Pred); template<typename T> BOOST_CXX14_CONSTEXPR bool is_clamped(const T &, typename boost::type_identity< T >::type const &, typename boost::type_identity< T >::type const &); } }