dune-common  2.7.0
Dune::IsIterable< T, I > Struct Template Reference

typetrait to check that a class has begin() and end() members More...

#include <dune/common/typetraits.hh>

Inheritance diagram for Dune::IsIterable< T, I >:
Inheritance graph

Detailed Description

template<typename T, typename I = std::size_t>
struct Dune::IsIterable< T, I >

typetrait to check that a class has begin() and end() members

Type trait to determine whether an instance of T has an operator[](I), i.e. whether it can be indexed with an index of type I.

Deprecated:
is_indexable is deprecated, use Dune::IsIndexable instead
Warning
Not all compilers support testing for arbitrary index types. In particular, there are problems with GCC 4.4 and 4.5.

The documentation for this struct was generated from the following file: