Update array.md

This commit is contained in:
Yi Wang 2023-03-05 11:55:49 -05:00 committed by GitHub
parent f77602f2dd
commit 8493f47312
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -118,7 +118,7 @@ typedef _Type _M_elems; // 一个含有100个元素的数组。
int a[100];
//或者
typedef int T[100];
typedef T a;
T a;
```
针对传进来的size处理相比于tr1更加复杂使用了模板偏特化来处理传递size为0情况。