Reference::Vector< Type, active > Class Template Reference

A smart pointer that gets invalidated when its target is destroyed. More...

#include <ReferenceVector.h>

Public Member Functions

 Vector ()
 Default constructor.
 
 Vector (const Vector &v)
 Copy constructor.
 
 ~Vector ()
 Destructor.
 
Vectoroperator= (const Vector &v)
 Assignment operator.
 
Reference::To< Type, active > & operator[] (unsigned index)
 element operator
 
const Reference::To< Type, active > & operator[] (unsigned index) const
 const element operator
 
void resize (unsigned n)
 Resize.
 
unsigned size () const
 Size.
 

Detailed Description

template<class Type, bool active = true>
class Reference::Vector< Type, active >

A smart pointer that gets invalidated when its target is destroyed.


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

Generated using doxygen 1.8.17