mirror of
https://github.com/SerenityOS/serenity
synced 2024-10-15 04:13:11 +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
|
@ -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