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

PrevUpHomeNext

Function template make_reverse_iterator

boost::stl_interfaces::make_reverse_iterator

Synopsis

// In header: <boost/stl_interfaces/reverse_iterator.hpp>


template<typename BidiIter> auto make_reverse_iterator(BidiIter it);

Description

Makes a reverse_iterator<BidiIter> from an iterator of type BidiIter.

Makes a reverse_iterator<BidiIter> from an iterator of type BidiIter. This only exists to make migration from Boost.STLInterfaces to C++20 easier; switch to the one in std as soon as you can.


PrevUpHomeNext