diff options
Diffstat (limited to 'boost/range/detail/less.hpp')
-rw-r--r-- | boost/range/detail/less.hpp | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/boost/range/detail/less.hpp b/boost/range/detail/less.hpp new file mode 100644 index 0000000000..957c5b6f65 --- /dev/null +++ b/boost/range/detail/less.hpp @@ -0,0 +1,26 @@ +/* +Copyright 2019 Glen Joseph Fernandes +(glenjofe@gmail.com) + +Distributed under the Boost Software License, Version 1.0. +(http://www.boost.org/LICENSE_1_0.txt) +*/ +#ifndef BOOST_RANGE_DETAIL_LESS +#define BOOST_RANGE_DETAIL_LESS + +namespace boost { +namespace range { +namespace detail { + +struct less { + template<class T, class U> + bool operator()(const T& lhs, const U& rhs) const { + return lhs < rhs; + } +}; + +} /* detail */ +} /* range */ +} /* boost */ + +#endif |