rutz::fixed_block< T > Class Template Reference
A dynamically-allocated array whose size is fixed at construction.
More...
#include <rutz/arrays.h>
List of all members.
Detailed Description
template<class T>
class rutz::fixed_block< T >
A dynamically-allocated array whose size is fixed at construction.
Copying and assignment are not allowed.
Definition at line 157 of file arrays.h.
Member Typedef Documentation
STL const iterator type.
Definition at line 186 of file arrays.h.
STL const pointer type.
Definition at line 181 of file arrays.h.
STL const reference type.
Definition at line 183 of file arrays.h.
STL iterator difference type.
Definition at line 189 of file arrays.h.
STL iterator type.
Definition at line 185 of file arrays.h.
STL pointer type.
Definition at line 180 of file arrays.h.
STL reference type.
Definition at line 182 of file arrays.h.
STL size type.
Definition at line 188 of file arrays.h.
STL value type.
Definition at line 178 of file arrays.h.
Constructor & Destructor Documentation
Construct with a given size.
Definition at line 192 of file arrays.h.
template<class T>
template<class Itr >
Construct by copying from a given iterator range.
Definition at line 199 of file arrays.h.
Member Function Documentation
Const iterator to array start.
Definition at line 207 of file arrays.h.
Iterator to array start.
Definition at line 204 of file arrays.h.
Const iterator to array one-past-the-end.
Definition at line 208 of file arrays.h.
Iterator to array one-past-the-end.
Definition at line 205 of file arrays.h.
Query whether size is zero.
Definition at line 239 of file arrays.h.
Maximum size of array type.
Definition at line 236 of file arrays.h.
Unchecked const array index.
Definition at line 214 of file arrays.h.
Unchecked non-const array index.
Definition at line 211 of file arrays.h.
Size of array.
Definition at line 233 of file arrays.h.
Swap with another fixed_block.
This is fast since it only requires swapping the interal pointers to the dynamically-allocated arrays; no element-wise swap is needed.
Definition at line 245 of file arrays.h.
The documentation for this class was generated from the following file: