#include <custom-space.h>
Public Member Functions | |
CustomSpaceIndex | GetCustomSpaceIndex () const final |
bool | IsCompactable () const final |
Public Member Functions inherited from cppgc::CustomSpaceBase | |
virtual | ~CustomSpaceBase ()=default |
virtual CustomSpaceIndex | GetCustomSpaceIndex () const =0 |
virtual bool | IsCompactable () const =0 |
Static Public Attributes | |
static constexpr bool | kSupportsCompaction = false |
Base class custom spaces should directly inherit from. The class inheriting from CustomSpace
must define kSpaceIndex
as unique space index. These indices need for form a sequence starting at 0.
Example:
|
inlinefinalvirtual |
Implements cppgc::CustomSpaceBase.
|
inlinefinalvirtual |
Implements cppgc::CustomSpaceBase.
|
staticconstexpr |
Compaction is only supported on spaces that manually manage slots recording.