1 /* 2 Copyright 2019 Glen Joseph Fernandes 3 (glenjofe@gmail.com) 4 5 Distributed under the Boost Software License, Version 1.0. 6 (http://www.boost.org/LICENSE_1_0.txt) 7 */ 8 #ifndef BOOST_RANGE_DETAIL_LESS 9 #define BOOST_RANGE_DETAIL_LESS 10 11 namespace boost { 12 namespace range { 13 namespace detail { 14 15 struct less { 16 template<class T, class U> operator ()boost::range::detail::less17 bool operator()(const T& lhs, const U& rhs) const { 18 return lhs < rhs; 19 } 20 }; 21 22 } /* detail */ 23 } /* range */ 24 } /* boost */ 25 26 #endif 27