tmp/tmpikis9vvi/{from.md → to.md}
RENAMED
|
@@ -1,18 +1,18 @@
|
|
| 1 |
#### Array modifications <a id="meta.trans.arr">[[meta.trans.arr]]</a>
|
| 2 |
|
| 3 |
``` cpp
|
| 4 |
// the following assertions hold:
|
| 5 |
-
assert((is_same<
|
| 6 |
-
assert((is_same<
|
| 7 |
-
assert((is_same<
|
| 8 |
-
assert((is_same<
|
| 9 |
```
|
| 10 |
|
| 11 |
``` cpp
|
| 12 |
// the following assertions hold:
|
| 13 |
-
assert((is_same<
|
| 14 |
-
assert((is_same<
|
| 15 |
-
assert((is_same<
|
| 16 |
-
assert((is_same<
|
| 17 |
```
|
| 18 |
|
|
|
|
| 1 |
#### Array modifications <a id="meta.trans.arr">[[meta.trans.arr]]</a>
|
| 2 |
|
| 3 |
``` cpp
|
| 4 |
// the following assertions hold:
|
| 5 |
+
assert((is_same<remove_extent_t<int>, int>::value));
|
| 6 |
+
assert((is_same<remove_extent_t<int[2]>, int>::value));
|
| 7 |
+
assert((is_same<remove_extent_t<int[2][3]>, int[3]>::value));
|
| 8 |
+
assert((is_same<remove_extent_t<int[][3]>, int[3]>::value));
|
| 9 |
```
|
| 10 |
|
| 11 |
``` cpp
|
| 12 |
// the following assertions hold:
|
| 13 |
+
assert((is_same<remove_all_extents_t<int>, int>::value));
|
| 14 |
+
assert((is_same<remove_all_extents_t<int[2]>, int>::value));
|
| 15 |
+
assert((is_same<remove_all_extents_t<int[2][3]>, int>::value));
|
| 16 |
+
assert((is_same<remove_all_extents_t<int[][3]>, int>::value));
|
| 17 |
```
|
| 18 |
|