1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 08:58:11 +00:00

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]; T __data[Size];
}; };
template<typename T, typename... Types>
Array(T, Types...) -> Array<T, sizeof...(Types) + 1>;
} }
using AK::Array; using AK::Array;