Boost C++ Libraries

...one of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

This is the documentation for an old version of boost. Click here for the latest Boost documentation.
PrevUpHomeNext

Header <boost/algorithm/is_clamped.hpp>

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 &);
  }
}

PrevUpHomeNext