mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-21 23:20:20 +00: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
1 changed files with 3 additions and 0 deletions
|
@ -782,6 +782,9 @@ private:
|
|||
StorageType* m_outline_buffer { nullptr };
|
||||
};
|
||||
|
||||
template<class... Args>
|
||||
Vector(Args... args) -> Vector<CommonType<Args...>>;
|
||||
|
||||
}
|
||||
|
||||
using AK::Vector;
|
||||
|
|
Loading…
Reference in a new issue