Data Structures | Functions
reverse.h File Reference

Go to the source code of this file.

Data Structures

struct  reversed_container< T >
 

Functions

template<typename T >
auto begin (reversed_container< T > container) -> decltype(container.container.rbegin())
 
template<typename T >
auto end (reversed_container< T > container) -> decltype(container.container.rend())
 
template<typename T >
reversed_container< T > reverse_order (T &container)
 

Function Documentation

◆ begin()

template<typename T >
auto begin ( reversed_container< T >  container) -> decltype(container.container.rbegin())

Definition at line 40 of file reverse.h.

◆ end()

template<typename T >
auto end ( reversed_container< T >  container) -> decltype(container.container.rend())

Definition at line 43 of file reverse.h.

◆ reverse_order()

template<typename T >
reversed_container<T> reverse_order ( T &  container)

Definition at line 46 of file reverse.h.