AK: Add template deduction guides for Array.

This commit is contained in:
asynts 2020-09-19 15:45:24 +02:00 committed by Andreas Kling
parent d831b5738d
commit b5ca74e78a

View file

@ -78,6 +78,9 @@ struct Array {
T __data[Size];
};
template<typename T, typename... Types>
Array(T, Types...) -> Array<T, sizeof...(Types) + 1>;
}
using AK::Array;