/var/www2/hermes2d/hermes2d/src/auto_local_array.h File Reference
#include <stdlib.h>
Go to the source code of this file.
Classes |
| class | AutoLocalArray< T > |
| | A support for local arrays allocated on the stack. The class constains just information about the size. More...
|
| class | AutoLocalClassArray< T > |
| | A support for local arrays of class instances. The class constains just information about the size. More...
|
| class | AutoLocalArray2< T > |
| | A support for local 2-dimensional arrays allocated on the stack. The class constains just information about the size. More...
|
Defines |
| #define | AUTOLA_OR(__type, __name, __len) AutoLocalArray<__type> __name (new __type[__len], __len) |
| | Allocation of a local array on the stack.
|
| #define | AUTOLA_CL(__type, __name, __len) AutoLocalClassArray<__type> __name (new __type[__len], __len) |
| #define | AUTOLA2_OR(__type, __name, __len0, __len1) AutoLocalArray2<__type> __name (new __type[(__len0) * (__len1)], __len0, __len1) |
Define Documentation
| #define AUTOLA2_OR |
( |
__type, |
|
|
__name, |
|
|
__len0, |
|
|
__len1 |
|
) |
AutoLocalArray2<__type> __name (new __type[(__len0) * (__len1)], __len0, __len1) |
| #define AUTOLA_CL |
( |
__type, |
|
|
__name, |
|
|
__len |
|
) |
AutoLocalClassArray<__type> __name (new __type[__len], __len) |
| #define AUTOLA_OR |
( |
__type, |
|
|
__name, |
|
|
__len |
|
) |
AutoLocalArray<__type> __name (new __type[__len], __len) |
Allocation of a local array on the stack.