arr2_align< T, align > Class Template Reference
[Array classes]

#include <arr.h>

Inheritance diagram for arr2_align< T, align >:

arr2T< T, alignAlloc__< T, align > >

List of all members.

Public Member Functions

 arr2_align ()
 arr2_align (tsize sz1, tsize sz2)
 arr2_align (tsize sz1, tsize sz2, const T &inival)


Detailed Description

template<typename T, int align>
class arr2_align< T, align >

Two-dimensional array type, with selectable storage alignment. The storage ordering is the same as in C. An entry is located by address arithmetic, not by double dereferencing. The indices start at zero.

Definition at line 495 of file arr.h.


Constructor & Destructor Documentation

template<typename T, int align>
arr2_align< T, align >::arr2_align (  )  [inline]

Creates a zero-sized array.

Definition at line 499 of file arr.h.

template<typename T, int align>
arr2_align< T, align >::arr2_align ( tsize  sz1,
tsize  sz2 
) [inline]

Creates an array with the dimensions sz1 and sz2.

Definition at line 501 of file arr.h.

template<typename T, int align>
arr2_align< T, align >::arr2_align ( tsize  sz1,
tsize  sz2,
const T &  inival 
) [inline]

Creates an array with the dimensions sz1 and sz2 and initializes them with inival.

Definition at line 505 of file arr.h.


The documentation for this class was generated from the following file:

Generated on Thu Oct 8 14:48:51 2015 for LevelS C++ support library