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;
51 IsHeapObjectAliveImpl(
52 TraceTrait<T>::GetTraceDescriptor(object).base_object_payload);
58 IsHeapObjectAlive<T>(weak_member.Get());
64 IsHeapObjectAlive<T>(untraced_member.Get());
68 LivenessBroker() =
default;
70 bool IsHeapObjectAliveImpl(
const void*)
const;