5#ifndef INCLUDE_CPPGC_CUSTOM_SPACE_H_
6#define INCLUDE_CPPGC_CUSTOM_SPACE_H_
48template <
typename ConcreteCustomSpace>
58 return ConcreteCustomSpace::kSpaceIndex;
61 return ConcreteCustomSpace::kSupportsCompaction;
68template <
typename T,
typename =
void>
75template <
typename CustomSpace>
83 static constexpr bool value =
false;
virtual bool IsCompactable() const =0
virtual ~CustomSpaceBase()=default
virtual CustomSpaceIndex GetCustomSpaceIndex() const =0
bool IsCompactable() const final
static constexpr bool kSupportsCompaction
CustomSpaceIndex GetCustomSpaceIndex() const final
constexpr CustomSpaceIndex(size_t value)
static constexpr bool value
static constexpr bool value