update
This commit is contained in:
parent
567c715d0a
commit
ebfb22681a
@ -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),...);
|
||||
|
Loading…
Reference in New Issue
Block a user