Class Reference::Vector

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

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

Public Functions

inline Vector()

Default constructor.

inline Vector(const Vector &v)

Copy constructor.

inline ~Vector()

Destructor.

inline Vector &operator=(const Vector &v)

Assignment operator.

inline Reference::To<Type, active> &operator[](unsigned index)

element operator

inline const Reference::To<Type, active> &operator[](unsigned index) const

const element operator

inline void resize(unsigned n)

Resize.

inline unsigned size() const

Size.