12#include <boost/range/begin.hpp> 
   13#include <boost/range/end.hpp> 
   32template <
typename Range>
 
   36    std::sort(boost::begin(r), boost::end(r));
 
 
   50template <
typename Range>
 
   54    std::reverse(boost::begin(r), boost::end(r));
 
 
   67template <
typename Range, 
typename T>
 
   70    return boost::end(range) != std::find(boost::begin(range), boost::end(range), value);
 
 
   83    const T minimum = std::min(bound1, bound2);
 
   86    const T maximum = std::max(bound1, bound2);
 
 
#define UHD_INLINE
Definition config.h:65
Definition build_info.hpp:12
UHD_INLINE bool has(const Range &range, const T &value)
Definition algorithm.hpp:68
UHD_INLINE Range sorted(const Range &range)
Definition algorithm.hpp:33
UHD_INLINE T clip(const T &val, const T &bound1, const T &bound2)
Definition algorithm.hpp:81
UHD_INLINE Range reversed(const Range &range)
Definition algorithm.hpp:51