mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 10:57:35 +00:00
LibCore: Add a forward declaration header
This patch adds <LibCore/Forward.h> and uses it in various places to shrink the header dependency graph.
This commit is contained in:
parent
3bbf4610d2
commit
8f7333f080
35 changed files with 143 additions and 38 deletions
|
@ -70,6 +70,9 @@ class NonnullRefPtr;
|
|||
template<typename T>
|
||||
class NonnullOwnPtr;
|
||||
|
||||
template<typename T>
|
||||
class Optional;
|
||||
|
||||
template<typename T>
|
||||
class RefPtr;
|
||||
|
||||
|
@ -98,6 +101,7 @@ using AK::JsonObject;
|
|||
using AK::JsonValue;
|
||||
using AK::NonnullOwnPtr;
|
||||
using AK::NonnullRefPtr;
|
||||
using AK::Optional;
|
||||
using AK::OwnPtr;
|
||||
using AK::RefPtr;
|
||||
using AK::SinglyLinkedList;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue