ViennaGrid - The Vienna Grid Library
2.1.0
|
Defines an array of fixed size similar similar to std::array<> (which, unfortunately, is only available in C++11) More...
#include <cassert>
#include <cstddef>
#include <iterator>
Go to the source code of this file.
Data Structures | |
class | static_array< T, N >::const_iterator |
class | static_array< T, N >::iterator |
class | static_array< T, N > |
Reimplementation of std::array<> because we cannot reasonably expect that C++11 is available on all target machines. More... | |
Namespaces | |
namespace | viennagrid |
The main ViennaGrid namespace. Most user functionality resides directly in this namespace rather than in sub-namespaces. | |
Functions | |
template<class T , std::size_t N> | |
bool | operator!= (const static_array< T, N > &x, const static_array< T, N > &y) |
template<class T , std::size_t N> | |
bool | operator< (const static_array< T, N > &x, const static_array< T, N > &y) |
template<class T , std::size_t N> | |
bool | operator<= (const static_array< T, N > &x, const static_array< T, N > &y) |
template<class T , std::size_t N> | |
bool | operator== (const static_array< T, N > &x, const static_array< T, N > &y) |
template<class T , std::size_t N> | |
bool | operator> (const static_array< T, N > &x, const static_array< T, N > &y) |
template<class T , std::size_t N> | |
bool | operator>= (const static_array< T, N > &x, const static_array< T, N > &y) |
template<class T , std::size_t N> | |
void | swap (static_array< T, N > &x, static_array< T, N > &y) |
Swaps the entries of the two arrays. |
Defines an array of fixed size similar similar to std::array<> (which, unfortunately, is only available in C++11)