|
Bond 0.9
C++ Bond Runtime Library API Documentation
|
A Collectable wrapper for arbitrary content. More...
#include <bond/vm/collector.h>
Public Types | |
| typedef T | ContentType |
Public Member Functions | |
| template<typename... Args> | |
| WrapperCollectable (Args &&... args) | |
| Constructs the wrapped content in place. | |
| virtual | ~WrapperCollectable () |
| const T & | GetContent () const |
| T & | GetContent () |
| Public Member Functions inherited from Bond::Collectable | |
| virtual | ~Collectable () |
A Collectable wrapper for arbitrary content.
This class can be used to register non-Collectable objects with a Collector by storing them as wrapped content.
| typedef T Bond::WrapperCollectable< T >::ContentType |
|
inlineexplicit |
Constructs the wrapped content in place.
| args | Arguments forwarded to the wrapped content constructor. |
|
inlinevirtual |
|
inline |
|
inline |