2
2
<feed xmlns =" http://www.w3.org/2005/Atom" >
3
3
<title >cpprefjp - C++日本語リファレンス</title >
4
4
<link href =" https://cpprefjp.github.io" />
5
- <updated >2024-09-18T04:36:21.537713 </updated >
6
- <id >092167a7-07e0-492e-8ae2-026963ea4c06 </id >
5
+ <updated >2024-09-18T05:57:15.878323 </updated >
6
+ <id >c804d941-89fe-4ccb-ba01-faf5c0baeea0 </id >
7
7
8
8
9
+ <entry >
10
+ <title >hardware_constructive_interference_size -- hardware_…size : 動作確認</title >
11
+ <link href =" https://cpprefjp.github.io/reference/new/hardware_constructive_interference_size.html" />
12
+ <id >cbb1fd4e1b38336a5643daeffa5ea7c88e3009e2:reference/new/hardware_constructive_interference_size.md</id >
13
+ <updated >2024-09-18T14:54:15+09:00</updated >
14
+
15
+ <summary type =" html" >< pre>< code> diff --git a/reference/new/hardware_constructive_interference_size.md b/reference/new/hardware_constructive_interference_size.md
16
+ index f75d652bb..ce9a949c1 100644
17
+ --- a/reference/new/hardware_constructive_interference_size.md
18
+ +++ b/reference/new/hardware_constructive_interference_size.md
19
+ @@ -22,7 +22,7 @@ namespace std {
20
+
21
+
22
+ ## 例
23
+ -```cpp
24
+ +```cpp example
25
+ #include & lt;iostream& gt;
26
+ #include & lt;new& gt;
27
+
28
+ @@ -55,9 +55,9 @@ hardware_constructive_interference_size : 64
29
+ - C++17
30
+
31
+ ### 処理系
32
+ -- [Clang](/implementation.md#clang):
33
+ +- [Clang](/implementation.md#clang): 19 [mark verified]
34
+ - [GCC](/implementation.md#gcc): 12.1 [mark verified]
35
+ -- [Visual C++](/implementation.md#visual_cpp):
36
+ +- [Visual C++](/implementation.md#visual_cpp): 2019 [mark verified]
37
+
38
+
39
+ ## 参照
40
+ < /code>< /pre> </summary >
41
+
42
+ <author >
43
+ <name >Akira Takahashi</name >
44
+
45
+ </author >
46
+ </entry >
47
+
48
+ <entry >
49
+ <title >hardware_destructive_interference_size -- hardware_…size : 動作確認</title >
50
+ <link href =" https://cpprefjp.github.io/reference/new/hardware_destructive_interference_size.html" />
51
+ <id >cbb1fd4e1b38336a5643daeffa5ea7c88e3009e2:reference/new/hardware_destructive_interference_size.md</id >
52
+ <updated >2024-09-18T14:54:15+09:00</updated >
53
+
54
+ <summary type =" html" >< pre>< code> diff --git a/reference/new/hardware_destructive_interference_size.md b/reference/new/hardware_destructive_interference_size.md
55
+ index 645a59e5c..fe1c0188b 100644
56
+ --- a/reference/new/hardware_destructive_interference_size.md
57
+ +++ b/reference/new/hardware_destructive_interference_size.md
58
+ @@ -39,7 +39,7 @@ struct keep_apart {
59
+
60
+
61
+ ## 例
62
+ -```cpp
63
+ +```cpp example
64
+ #include & lt;iostream& gt;
65
+ #include & lt;new& gt;
66
+ #include & lt;thread& gt;
67
+ @@ -114,9 +114,9 @@ hardware_destructive_interference_size : 64
68
+ - C++17
69
+
70
+ ### 処理系
71
+ -- [Clang](/implementation.md#clang):
72
+ +- [Clang](/implementation.md#clang): 19 [mark verified]
73
+ - [GCC](/implementation.md#gcc): 12.1 [mark verified]
74
+ -- [Visual C++](/implementation.md#visual_cpp):
75
+ +- [Visual C++](/implementation.md#visual_cpp): 2019 [mark verified]
76
+
77
+
78
+ ## 参照
79
+ < /code>< /pre> </summary >
80
+
81
+ <author >
82
+ <name >Akira Takahashi</name >
83
+
84
+ </author >
85
+ </entry >
86
+
9
87
<entry >
10
88
<title >debugging -- fix typo</title >
11
89
<link href =" https://cpprefjp.github.io/reference/debugging.html" />
@@ -2146,73 +2224,4 @@ index 000000000..0d4454818
2146
2224
</author >
2147
2225
</entry >
2148
2226
2149
- <entry >
2150
- <title >formatter -- formatter : 複数のメンバ変数をもつクラスをformatterで文字列化する例を追加</title >
2151
- <link href =" https://cpprefjp.github.io/reference/format/formatter.html" />
2152
- <id >806a8c82d9cefa9e298a1ab907a7518d2be1bea7:reference/format/formatter.md</id >
2153
- <updated >2024-09-18T07:26:07+09:00</updated >
2154
-
2155
- <summary type =" html" >< pre>< code> diff --git a/reference/format/formatter.md b/reference/format/formatter.md
2156
- index 1c85b3d09..9db8d6c16 100644
2157
- --- a/reference/format/formatter.md
2158
- +++ b/reference/format/formatter.md
2159
- @@ -231,15 +231,47 @@ int main()
2160
- 赤 blue
2161
- ```
2162
-
2163
- +
2164
- +### 複数のメンバ変数を含むクラスの場合
2165
- +```cpp example
2166
- +#include & lt;iostream& gt;
2167
- +#include & lt;format& gt;
2168
- +
2169
- +struct Point {
2170
- + float x, y;
2171
- +};
2172
- +
2173
- +template& lt;& gt;
2174
- +struct std::formatter& lt;Point& gt; : std::formatter& lt;std::string& gt; {
2175
- + auto format(Point p, std::format_context& amp; ctx) const {
2176
- + return std::formatter& lt;std::string& gt;::format(
2177
- + std::format(& #34;[{}, {}]& #34;, p.x, p.y),
2178
- + ctx);
2179
- + }
2180
- +};
2181
- +
2182
- +int main()
2183
- +{
2184
- + std::cout & lt;& lt; std::format(& #34;{}& #34;, Point{1.2f, 3.4f}) & lt;& lt; std::endl;
2185
- +}
2186
- +```
2187
- +* std::format_context[link basic_format_context.md]
2188
- +* std::format[link format.md]
2189
- +
2190
- +#### 出力
2191
- +```
2192
- +[1.2, 3.4]
2193
- +```
2194
- +
2195
- +
2196
- ## バージョン
2197
- ### 言語
2198
- - C++20
2199
-
2200
- ### 処理系
2201
- -- [Clang](/implementation.md#clang): ??
2202
- +- [Clang](/implementation.md#clang): 17 [mark verified]
2203
- - [GCC](/implementation.md#gcc): 13 [mark verified]
2204
- -- [ICC](/implementation.md#icc): ??
2205
- -- [Visual C++](/implementation.md#visual_cpp): ??
2206
- +- [Visual C++](/implementation.md#visual_cpp): 2022 Update 2 [mark verified]
2207
-
2208
- ## 関連項目
2209
- - [`vector& lt;bool& gt;`](/reference/vector/vector.md)
2210
- < /code>< /pre> </summary >
2211
-
2212
- <author >
2213
- <name >Akira Takahashi</name >
2214
-
2215
- </author >
2216
- </entry >
2217
-
2218
2227
</feed >
0 commit comments