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;
24 IsHeapObjectAliveImpl(
25 TraceTrait<T>::GetTraceDescriptor(object).base_object_payload);
31 IsHeapObjectAlive<T>(weak_member.Get());
37 IsHeapObjectAlive<T>(untraced_member.Get());
41 LivenessBroker() =
default;
43 bool IsHeapObjectAliveImpl(
const void*)
const;