5 #ifndef INCLUDE_CPPGC_LIVENESS_BROKER_H_
6 #define INCLUDE_CPPGC_LIVENESS_BROKER_H_
8 #include "cppgc/heap.h"
9 #include "cppgc/member.h"
10 #include "cppgc/trace-trait.h"
16 class LivenessBrokerFactory;
48 IsHeapObjectAliveImpl(
49 TraceTrait<T>::GetTraceDescriptor(object).base_object_payload);
55 IsHeapObjectAlive<T>(untraced_member.Get());
59 LivenessBroker() =
default;
61 bool IsHeapObjectAliveImpl(
const void*)
const;