This commit is contained in:
Yi Wang 2023-04-02 11:27:22 +08:00 committed by GitHub
commit 3fd12ebe1e
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情况。