mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-09-11 05:25:32 +03:00
AK: Add a deduction guide to Vector
Note that this does not generate a vector with inline capacity.
This commit is contained in:
parent
6c9ef20010
commit
2891dca0cd
Notes:
sideshowbarker
2024-07-18 08:32:09 +09:00
Author: https://github.com/alimpfard Commit: https://github.com/SerenityOS/serenity/commit/2891dca0cd3 Pull-request: https://github.com/SerenityOS/serenity/pull/8933
@ -782,6 +782,9 @@ private:
|
|||||||
StorageType* m_outline_buffer { nullptr };
|
StorageType* m_outline_buffer { nullptr };
|
||||||
};
|
};
|
||||||
|
|
||||||
|
template<class... Args>
|
||||||
|
Vector(Args... args) -> Vector<CommonType<Args...>>;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
using AK::Vector;
|
using AK::Vector;
|
||||||
|
Loading…
Reference in New Issue
Block a user