5 #ifndef INCLUDE_CPPGC_INTERNAL_GC_INFO_H_
6 #define INCLUDE_CPPGC_INTERNAL_GC_INFO_H_
10 #include "cppgc/internal/finalizer-trait.h"
11 #include "cppgc/trace-trait.h"
17 using GCInfoIndex = uint16_t;
22 TraceCallback trace_callback,
bool has_v_table);
23 GCInfoIndex
GetIndex()
const {
return index_; }
26 const GCInfoIndex index_;
34 static_assert(
sizeof(T),
"T must be fully defined");
35 static const RegisteredGCInfoIndex registered_index(
37 std::is_polymorphic<T>::value);