ATLAS Offline Software
Classes | Namespaces | Functions
reverse_wrapper.h File Reference

Helper for iterating over a container in reverse order. More...

Go to the source code of this file.

Classes

class  CxxUtils::reverse_wrapper< C >
 Adapter for a container-like class to be used in a range-for so as to iterate in the reverse direction. More...
 

Namespaces

 CxxUtils
 

Functions

template<class T >
auto CxxUtils::make_reverse_wrapper (T &r)
 Make a reverse_wrapper for a given container-like object. More...
 

Detailed Description

Helper for iterating over a container in reverse order.

Author
scott snyder snyde.nosp@m.r@bn.nosp@m.l.gov
Date
Jan, 2022 Given a container c, this code will iterate over the container in reverse order:
for (... elt : CxxUtils::make_reverse_wrapper (c)) {

Definition in file reverse_wrapper.h.

CxxUtils::make_reverse_wrapper
auto make_reverse_wrapper(T &r)
Make a reverse_wrapper for a given container-like object.
Definition: reverse_wrapper.h:46
python.compressB64.c
def c
Definition: compressB64.py:93