mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-06-10 18:10:56 +09:00
AK: Forward declare Nonnull{Own,Ref}PtrVector
This commit is contained in:
parent
5325d6871d
commit
c85eaadb48
Notes:
sideshowbarker
2024-07-19 00:58:59 +09:00
Author: https://github.com/alimpfard
Commit: c85eaadb48
Pull-request: https://github.com/SerenityOS/serenity/pull/4359
Issue: https://github.com/SerenityOS/serenity/issues/4345
Issue: https://github.com/SerenityOS/serenity/issues/4358
3 changed files with 10 additions and 2 deletions
|
@ -109,6 +109,12 @@ class NonnullRefPtr;
|
|||
template<typename T>
|
||||
class NonnullOwnPtr;
|
||||
|
||||
template<typename T, int inline_capacity = 0>
|
||||
class NonnullRefPtrVector;
|
||||
|
||||
template<typename T, int inline_capacity = 0>
|
||||
class NonnullOwnPtrVector;
|
||||
|
||||
template<typename T>
|
||||
class Optional;
|
||||
|
||||
|
@ -154,7 +160,9 @@ using AK::JsonObject;
|
|||
using AK::JsonValue;
|
||||
using AK::LogStream;
|
||||
using AK::NonnullOwnPtr;
|
||||
using AK::NonnullOwnPtrVector;
|
||||
using AK::NonnullRefPtr;
|
||||
using AK::NonnullRefPtrVector;
|
||||
using AK::Optional;
|
||||
using AK::OutputMemoryStream;
|
||||
using AK::OutputStream;
|
||||
|
|
|
@ -31,7 +31,7 @@
|
|||
|
||||
namespace AK {
|
||||
|
||||
template<typename T, int inline_capacity = 0>
|
||||
template<typename T, int inline_capacity>
|
||||
class NonnullOwnPtrVector : public NonnullPtrVector<NonnullOwnPtr<T>, inline_capacity> {
|
||||
};
|
||||
|
||||
|
|
|
@ -31,7 +31,7 @@
|
|||
|
||||
namespace AK {
|
||||
|
||||
template<typename T, int inline_capacity = 0>
|
||||
template<typename T, int inline_capacity>
|
||||
class NonnullRefPtrVector : public NonnullPtrVector<NonnullRefPtr<T>, inline_capacity> {
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue