This commit is contained in:
Zengtudor 2024-10-06 18:23:03 +08:00
parent 567c715d0a
commit ebfb22681a

View File

@ -76,7 +76,7 @@ private:
};
template<class T,class ...Args>
constexpr static Array<T,sizeof...(Args)> make_array(const Args&...args){
constexpr static Array<T,sizeof...(Args)> make_array(Args&&...args){
Array<T,sizeof...(Args)> arr;
size_t index {0};
((arr[index++]=args),...);