template<typename ETYPE>
class OOBuffer< ETYPE >
Internal class to allocate storage on demand as it is accessed by ref using the subscript operator. A memory is allocated and reallocated if the element type is a plain type it will be zeroed out otherwise if it is a class the constructor will be called for each element in the array as it is allocated. On reallocation a new oversized array is allocated then the "=" operator used to copy the old values to the new array. This operator should "steal" any deep _refs from the old instance before it is destructed as does the OOBuffer class itself as it is used recursively.
Usage:
OOBuffer<OOBuffer<double> > x; // not ref counted however
and can not be put into arrays or dictionaries
x[99][99] = 43;
Definition at line 83 of file objvec.h.