AK: Add a deduction guide to Vector

Note that this does not generate a vector with inline capacity.
This commit is contained in:
Ali Mohammad Pur 2021-07-22 19:06:16 +04:30 committed by Andreas Kling
parent 6c9ef20010
commit 2891dca0cd

View file

@ -782,6 +782,9 @@ private:
StorageType* m_outline_buffer { nullptr };
};
template<class... Args>
Vector(Args... args) -> Vector<CommonType<Args...>>;
}
using AK::Vector;