5#ifndef INCLUDE_CPPGC_EXPLICIT_MANAGEMENT_H_
6#define INCLUDE_CPPGC_EXPLICIT_MANAGEMENT_H_
23bool Resize(T&
object, AdditionalBytes additional_bytes);
62 static_assert(IsGarbageCollectedTypeV<T>,
63 "Object must be of type GarbageCollected.");
91 static_assert(IsGarbageCollectedTypeV<T>,
92 "Object must be of type GarbageCollected.");
94 &
object,
sizeof(T) + additional_bytes.
value);
friend void subtle::FreeUnreferencedObject(HeapHandle &, T &)
friend bool subtle::Resize(T &, AdditionalBytes)
bool Resize(T &object, AdditionalBytes additional_bytes)
void FreeUnreferencedObject(HeapHandle &heap_handle, T &object)