3.4
DUNE for Multi-{Phase, Component, Scale, Physics, ...} flow and transport in porous media
Loading...
Searching...
No Matches
enumerate.hh File Reference

A Python-like enumerate function. More...

#include <tuple>

Go to the source code of this file.

Description

A Python-like enumerate function.

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.