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>(weak_member.Get());
61 IsHeapObjectAlive<T>(untraced_member.Get());
65 LivenessBroker() =
default;
67 bool IsHeapObjectAliveImpl(
const void*)
const;