|
6 | 6 |
|
7 | 7 | ```cpp |
8 | 8 | namespace std { |
9 | | - template<class ElementType, |
10 | | - class Extents, |
11 | | - class LayoutPolicy = layout_right, |
12 | | - class AccessorPolicy = default_accessor<ElementType>> |
| 9 | + template< |
| 10 | + class ElementType, |
| 11 | + class Extents, |
| 12 | + class LayoutPolicy = layout_right, |
| 13 | + class AccessorPolicy = default_accessor<ElementType>> |
13 | 14 | class mdspan; |
14 | 15 | } |
15 | 16 | ``` |
@@ -50,7 +51,7 @@ namespace std { |
50 | 51 | |------|------|----------------| |
51 | 52 | | [`(constructor)`](mdspan/op_constructor.md.nolink) | コンストラクタ | C++23 | |
52 | 53 | | `(destructor)` | デストラクタ | C++23 | |
53 | | -| [`operator=`](mdspan/op_assing.md.nolink) | 代入演算子 | C++23 | |
| 54 | +| [`operator=`](mdspan/op_assign.md.nolink) | 代入演算子 | C++23 | |
54 | 55 |
|
55 | 56 | ### 要素へのアクセス |
56 | 57 |
|
@@ -101,15 +102,15 @@ namespace std { |
101 | 102 | | 名前 | 説明 | 対応バージョン | |
102 | 103 | |------|------|----------------| |
103 | 104 | | `extents_type` | 多次元配列サイズ型[`Extents`](extents.md) | C++23 | |
104 | | -| `layout_type` | レイアウトポリシー型`LayoutPolicy` | C++23 | |
105 | | -| `accessor_type` | アクセサポリシー型`AccessorPolicy` | C++23 | |
106 | | -| `mapping_type` | レイアウトマッピング型`typename layout_type::template mapping<extents_type>` | C++23 | |
107 | | -| `element_type` | 多次元配列の要素型`ElementType` | C++23 | |
108 | | -| `value_type` | 要素の値型[`remove_cv_t`](/reference/type_traits/remove_cvref.md)`<element_type>` | C++23 | |
109 | | -| `size_type` | `typename extents_type::size_type` | C++23 | |
110 | | -| `rank_type` | `typename extents_type::rank_type` | C++23 | |
111 | | -| `pointer` | `typename accessor_type::pointer` | C++23 | |
112 | | -| `reference` | ` typename accessor_type::reference` | C++23 | |
| 105 | +| `layout_type` | レイアウトマッピングポリシー`LayoutPolicy` | C++23 | |
| 106 | +| `accessor_type` | アクセサポリシー`AccessorPolicy` | C++23 | |
| 107 | +| `mapping_type` | レイアウトマッピング`LayoutPolicy::mapping<Extents>` | C++23 | |
| 108 | +| `element_type` | 要素型`ElementType` | C++23 | |
| 109 | +| `value_type` | 要素の値型[`remove_cv_t`](/reference/type_traits/remove_cvref.md)`<ElementType>` | C++23 | |
| 110 | +| `size_type` | [`Extents::size_type`](extents.md) | C++23 | |
| 111 | +| `rank_type` | [`Extents::rank_type`](extents.md) | C++23 | |
| 112 | +| `pointer` | `AccessorPolicy::pointer` | C++23 | |
| 113 | +| `reference` | `AccessorPolicy::reference` | C++23 | |
113 | 114 |
|
114 | 115 |
|
115 | 116 | ## 非メンバ(*Hidden friends*)関数 |
@@ -164,6 +165,7 @@ int main() |
164 | 165 |
|
165 | 166 | ## 関連項目 |
166 | 167 | - [`extents`](extents.md) |
| 168 | +- [`default_accessor`](default_accessor.md) |
167 | 169 |
|
168 | 170 |
|
169 | 171 | ## 参照 |
|
0 commit comments