Dune Core Modules (2.6.0)
Dune::is_indexable< T, I > Struct Template Reference
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. More...
#include <dune/common/typetraits.hh>
Detailed Description
template<typename T, typename I = std::size_t>
struct Dune::is_indexable< T, I >
struct Dune::is_indexable< T, I >
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.
- 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:
- dune/common/typetraits.hh
|
Legal Statements / Impressum |
Hosted by TU Dresden |
generated with Hugo v0.111.3
(Nov 24, 23:30, 2024)