veriblock-pop-cpp
C++11 Libraries for leveraging VeriBlock Proof-Of-Proof blockchain technology.
altintegration::reverse_range< T > Class Template Reference

translates a pair of forward iterators to a range whose regular iteration order is "backward" More...

Detailed Description

template<typename T>
class altintegration::reverse_range< T >

Definition at line 16 of file reversed_range.hpp.

#include <reversed_range.hpp>

+ Collaboration diagram for altintegration::reverse_range< T >:

Public Member Functions

 reverse_range (T &x)
 
auto begin () const -> decltype(this->m_x.rbegin())
 
auto end () const -> decltype(this->m_x.rend())
 

Constructor & Destructor Documentation

◆ reverse_range()

template<typename T >
altintegration::reverse_range< T >::reverse_range ( T &  x)
inlineexplicit

Definition at line 20 of file reversed_range.hpp.

20: m_x(x) {}

Member Function Documentation

◆ begin()

template<typename T >
auto altintegration::reverse_range< T >::begin ( ) const -> decltype(this->m_x.rbegin())
inline

Definition at line 22 of file reversed_range.hpp.

22{ return m_x.rbegin(); }

◆ end()

template<typename T >
auto altintegration::reverse_range< T >::end ( ) const -> decltype(this->m_x.rend())
inline

Definition at line 24 of file reversed_range.hpp.

24{ return m_x.rend(); }

The documentation for this class was generated from the following file: