Object-oriented Scientific Computing Library: Version 0.910
ofvector< N > Class Template Reference

A vector where the memory allocation is performed in the constructor. More...

#include <ovector_tlate.h>

Inheritance diagram for ofvector< N >:
ovector_tlate< data_t, vparent_t, block_t > ovector_base_tlate< data_t, vparent_t, block_t > ovector_const_view_tlate< data_t, vparent_t, block_t >

Detailed Description

template<size_t N = 0>
class ofvector< N >

This can be useful, for example to easily make C-style arrays of ovector objects with a fixed size. For example,

      ofvector<8> x[10];

would mean x is a 10-dimensional array of ovector object with initial length 8.

Idea for Future:
Consider making allocate() and free() functions private for this class?

Definition at line 1896 of file ovector_tlate.h.


The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Documentation generated with Doxygen. Provided under the GNU Free Documentation License (see License Information).

Get Object-oriented Scientific Computing
Lib at SourceForge.net. Fast, secure and Free Open Source software
downloads.