Files
ladybird/Libraries/LibGC/Forward.h
Shannon Booth 79e0e36e36 LibGC: Introduce GC::HeapHashTable<T>, a GC-aware hash table container
Conceptually similar to GC::Function and GC::HeapVector, allowing hash
tables to safely hold GC-managed values. GC::HeapHashTable derives
from GC::Cell and traces its table elements during marking.
2026-01-21 22:26:14 +01:00

41 lines
616 B
C++

/*
* Copyright (c) 2024, Shannon Booth <shannon@serenityos.org>
*
* SPDX-License-Identifier: BSD-2-Clause
*/
#pragma once
#include <AK/Types.h>
#include <LibGC/Export.h>
namespace GC {
class Cell;
class CellAllocator;
class DeferGC;
class ForeignCell;
class RootImpl;
class Heap;
class HeapBlock;
class NanBoxedValue;
class WeakContainer;
class WeakImpl;
template<typename T>
class Function;
template<typename T>
class HeapHashTable;
template<class T>
class Root;
template<class T, size_t inline_capacity = 0>
class ConservativeVector;
template<class T, size_t inline_capacity = 0>
class RootVector;
}