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

This is the documentation for an old version of boost. Click here for the latest Boost documentation.
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