Bond 0.9
C++ Bond Runtime Library API Documentation
Loading...
Searching...
No Matches
Bond::Collectable Class Reference

Base class for objects tracked by a Collector. More...

#include <bond/vm/collector.h>

Inheritance diagram for Bond::Collectable:
Bond::WrapperCollectable< T >

Public Member Functions

virtual ~Collectable ()
 Destroys the Collectable and the remainder of the list that follows it.

Friends

class Collector

Detailed Description

Base class for objects tracked by a Collector.

Each Collectable holds an owning handle to the next object in the Collector's list, so destroying a Collectable also destroys all objects registered with the Collector before it.

Constructor & Destructor Documentation

◆ ~Collectable()

virtual Bond::Collectable::~Collectable ( )
inlinevirtual

Destroys the Collectable and the remainder of the list that follows it.

◆ Collector

friend class Collector
friend

The documentation for this class was generated from the following file:
  • include/bond/vm/collector.h