| The Gaudi Framework v27r1

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files

- File List
- File Members

Classes | Functions
reverse.h File Reference
`#include <iterator>`
Include dependency graph for reverse.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

## Classes
struct | reverse_wrapper< Iterable >

## Functions
template<typename T >
reverse_wrapper< T > | reverse (T &&iterable)
template<typename T >
auto | begin (reverse_wrapper< T > &w)
template<typename T >
auto | end (reverse_wrapper< T > &w)

## Function Documentation

template<typename T >

auto begin | ( | reverse_wrapper< T > & | w | ) |

Definition at line 45 of file reverse.h.

45 { using std::rbegin; return rbegin(w.iterable); }
reverse_wrapper::iterable
Iterable iterable
Definition: reverse.h:27
template<typename T >

auto end | ( | reverse_wrapper< T > & | w | ) |

Definition at line 47 of file reverse.h.

47 { using std::rend; return rend(w.iterable); }
reverse_wrapper::iterable
Iterable iterable
Definition: reverse.h:27
template<typename T >

reverse_wrapper<T> reverse | ( | T && | iterable | ) |

Definition at line 30 of file reverse.h.

30 { return { std::forward<T>(iterable) }; }