| The Gaudi Framework v28r2-patches (bc4ad17a)

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

- File List
- File Members

Classes | Functions
reverse.h File Reference
`#include <utility>`
`#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 48 of file reverse.h.

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

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

Definition at line 50 of file reverse.h.

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

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

Definition at line 33 of file reverse.h.

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