A Python-like enumerate function.
#include <tuple>#include <iterator>Go to the source code of this file.
| Namespaces | |
| namespace | Dumux | 
| Functions | |
| template<typename Range, typename RangeIterator = decltype(std::begin(std::declval<Range>())), typename = decltype(std::end(std::declval<Range>()))> | |
| constexpr auto | Dumux::enumerate (Range &&iterable) | 
| A Python-like enumerate function. | |