ATLAS Offline Software
|
Add at() methods to a range class. More...
#include <range_with_at.h>
Public Member Functions | |
decltype(auto) | at (size_t i) |
decltype(auto) | at (size_t i) const |
Add at() methods to a range class.
Many standard range objects allow operator[] but do not implement at(). Use this to add at() methods to a random_access_range class.
Definition at line 31 of file range_with_at.h.
|
inline |
Definition at line 38 of file range_with_at.h.
|
inline |
Definition at line 46 of file range_with_at.h.