Boost logo

Boost Users :

Subject: [Boost-users] boost::range : comparison operators
From: er (er.ci.2020_at_[hidden])
Date: 2011-02-21 07:34:18


Hello,

I'm interested in

make_iterator_range( container );

defined in
http://svn.boost.org/svn/boost/trunk/boost/range/iterator_range_core.hpp

in order to adapt container to have comparison operators. While,

template< class IteratorT, class ForwardRange >
         inline bool operator<( const ForwardRange& l,
                                const iterator_range<IteratorT>& r )

is defined, operator>, for example, isn't. Is there a functionality that
provides all operators?

Thanks.


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net