CppGC  1.01
Public Member Functions | Private Attributes
GC::VectorVar< T > Class Template Reference

#include <gc.h>

Inheritance diagram for GC::VectorVar< T >:
GC::Root

List of all members.

Public Member Functions

T *& operator[] (size_t index)
T * operator[] (size_t index) const
size_t size () const
void resize (size_t newSize)
void push (T const *obj)
T * pop ()
T * top () const
 VectorVar (size_t reserve=8)
virtual void mark (MemoryAllocator *allocator)

Private Attributes

Rootnext

Detailed Description

template<class T>
class GC::VectorVar< T >

Dynamic vector of references variable protected from GC


Member Function Documentation

template<class T >
virtual void GC::VectorVar< T >::mark ( MemoryAllocator allocator) [inline, virtual]

Mark root object

Parameters:
allocatormemory allocator

Implements GC::Root.


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