| The Gaudi Framework v30r0 (c919700c)

- 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 58 of file reverse.h.

59 {
60 using std::rbegin;
61 return rbegin( w.iterable );
62 }
reverse_wrapper::iterable
Iterable iterable
Definition: reverse.h:31
template<typename T >

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

Definition at line 64 of file reverse.h.

65 {
66 using std::rend;
67 return rend( w.iterable );
68 }
reverse_wrapper::iterable
Iterable iterable
Definition: reverse.h:31
template<typename T >

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

Definition at line 35 of file reverse.h.

36 {
37 return {std::forward<T>( iterable )};
38 }