dune-common  2.3.0
Classes | Namespaces | Functions
array.hh File Reference

Fallback implementation of the std::array class (a static array) More...

Go to the source code of this file.

Classes

class  Dune::array< T, N >
 Simple fixed size array class. This replaces std::array, if that is not available. More...

Namespaces

namespace  Dune
 Dune namespace.

Functions

template<class T , size_t N>
bool Dune::operator< (const array< T, N > &a, const array< T, N > &b)
template<class T , size_t N>
bool Dune::operator> (const array< T, N > &a, const array< T, N > &b)
template<class T , size_t N>
bool Dune::operator<= (const array< T, N > &a, const array< T, N > &b)
template<class T , size_t N>
bool Dune::operator>= (const array< T, N > &a, const array< T, N > &b)
template<class T , size_t N>
std::ostream & Dune::operator<< (std::ostream &s, const array< T, N > &e)
 Output operator for array.
template<class T >
array< T, 10 > Dune::make_array (const T &t0, const T &t1, const T &t2, const T &t3, const T &t4, const T &t5, const T &t6, const T &t7, const T &t8, const T &t9)
 create an initialize an array
template<typename T , std::size_t n>
array< T, n > Dune::fill_array (const T &t)
 Create an array and fill it with copies of the provided value.

Detailed Description

Fallback implementation of the std::array class (a static array)