dune-common  2.7.0
Dune::IsIndexable< T > Struct Template Reference

Whether this type has a value of NaN. More...

#include <dune/common/typetraits.hh>

Inheritance diagram for Dune::IsIndexable< T >:
Inheritance graph

Detailed Description

template<typename T>
struct Dune::IsIndexable< T >

Whether this type has a value of NaN.

Deprecated:
has_nan is deprecated, use Dune::HasNaN instead

Internally, this is just a forward to std::is_floating_point<T>. 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: