rutz::static_block< T, N > Struct Template Reference
A simple wrapper around a C-style array.
More...
#include <rutz/arrays.h>
List of all members.
Detailed Description
template<class T, size_t N>
struct rutz::static_block< T, N >
A simple wrapper around a C-style array.
static_block
provides an STL-style container interface, including both checked and unchecked access, as well as access to the container's size with the size()
member function.
Definition at line 87 of file arrays.h.
Member Typedef Documentation
template<class T , size_t N>
STL const iterator type.
Definition at line 97 of file arrays.h.
template<class T , size_t N>
STL const pointer type.
Definition at line 92 of file arrays.h.
template<class T , size_t N>
STL const reference type.
Definition at line 94 of file arrays.h.
template<class T , size_t N>
STL iterator difference type.
Definition at line 100 of file arrays.h.
template<class T , size_t N>
STL iterator type.
Definition at line 96 of file arrays.h.
template<class T , size_t N>
STL pointer type.
Definition at line 91 of file arrays.h.
template<class T , size_t N>
STL reference type.
Definition at line 93 of file arrays.h.
template<class T , size_t N>
STL size type.
Definition at line 99 of file arrays.h.
template<class T , size_t N>
STL value type.
Definition at line 89 of file arrays.h.
Member Function Documentation
template<class T , size_t N>
template<class T , size_t N>
template<class T , size_t N>
Const iterator to array start.
Definition at line 105 of file arrays.h.
template<class T , size_t N>
Iterator to array start.
Definition at line 102 of file arrays.h.
template<class T , size_t N>
Const iterator to array one-past-the-end.
Definition at line 106 of file arrays.h.
template<class T , size_t N>
Iterator to array one-past-the-end.
Definition at line 103 of file arrays.h.
template<class T , size_t N>
Query whether size is zero.
Definition at line 137 of file arrays.h.
template<class T , size_t N>
Maximum size of array type.
Definition at line 134 of file arrays.h.
template<class T , size_t N>
Unchecked const array index.
Definition at line 112 of file arrays.h.
template<class T , size_t N>
Unchecked non-const array index.
Definition at line 109 of file arrays.h.
template<class T , size_t N>
Size of array.
Definition at line 131 of file arrays.h.
template<class T , size_t N>
Swap data with another array.
This requires an element-by-element swap.
Definition at line 141 of file arrays.h.
The documentation for this struct was generated from the following file: