-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathrss.xml
More file actions
2060 lines (1762 loc) · 134 KB
/
Copy pathrss.xml
File metadata and controls
2060 lines (1762 loc) · 134 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
<title>cpprefjp - C++日本語リファレンス</title>
<link href="https://cpprefjp.github.io" />
<updated>2026-08-18T02:31:38.526993</updated>
<id>d9fabc2a-2bd7-41b5-9c2b-041cea1c27d7</id>
<entry>
<title>INVOKE -- Merge pull request #1735 from cpprefjp/cpp23_lib_issues2</title>
<link href="https://cpprefjp.github.io/reference/concepts/Invoke.html"/>
<id>d5727fb4b5b8b946983c974bd18ac6616ad7f0d5:reference/concepts/Invoke.md</id>
<updated>2026-08-18T11:29:46+09:00</updated>
<content type="html"><div class="identifier-type">named requirement</div><div class="header">&lt;concepts&gt;</div><h1 itemprop="name"><span class="namespace" title="namespace ">::</span><span class="token">INVOKE</span><span class="cpp cpp11" title="C++11で追加">(C++11)</span></h1>
<div itemprop="articleBody"><p>C++における関数呼び出しという性質を抽象化しまとめた、仮想操作 <em>INVOKE</em> を定義する。</p>
<ul>
<li>C++17からは、仮想操作 <em>INVOKE</em> を実体化した<code><a href="../functional/invoke.html">std::invoke</a></code>関数テンプレートが提供される。</li>
<li>C++23からは、仮想操作 <em>INVOKE</em><code>&lt;R&gt;</code> を実体化した<code><a href="../functional/invoke_r.html">std::invoke_r</a></code>関数テンプレートが提供される。</li>
</ul>
<h2>用語定義</h2>
<ul>
<li><em>call-signature</em> とは、戻り値型に続けて丸カッコの中に0個以上の引数型を並べたものである。 <em>cf.</em> <code>int ( std::string, int )</code></li>
<li><em>callable-type</em> とは、関数呼び出し演算子を適用できる型 ( 関数、関数への参照、関数へのポインタ、<code>operator ()</code> をオーバーロードした型もしくはそれを(直接または間接的に) <code>public</code> 継承した型 ) もしくはメンバへのポインタ型を指す。</li>
<li><em>callable-object</em> は、 <em>callable-type</em> 型のオブジェクトである。</li>
<li><em>call-wrapper-type</em> は、 <em>callable-object</em> を保持し、自身に対する関数呼び出し操作が行われたとき、保持しているオブジェクトに委譲する。</li>
<li><em>call-wrapper</em> は、 <em>call-wrapper-type</em> 型のオブジェクトである。</li>
<li><em>target-object</em> とは、 <em>callable-object</em> に保持されているオブジェクトのことである。</li>
</ul>
<h2>要件(C++14まで)</h2>
<ol>
<li>仮想操作 <em>INVOKE</em><code>(f, t1, t2, ..., tN)</code> を次のように定義する。<ul>
<li><code>f</code> が型 <code>T</code> のメンバ関数へのポインタであり、 <code>t1</code> が T 型のオブジェクトあるいは <code>T</code> または <code>T</code> を継承した型への参照であるとき、 <code>(t1.*f)(t2, ..., tN)</code> と同じ効果を持つ。</li>
<li><code>f</code> が型 <code>T</code> のメンバ関数へのポインタであり、 <code>t1</code> が上記の条件に当てはまらない場合、<code>((*t1).*f)(t2, ..., tN)</code> と同じ効果を持つ。</li>
<li><code>N == 1</code> で、<code>f</code> が型 <code>T</code> のメンバオブジェクトへのポインタであり、<code>t1</code> が <code>T</code> 型のオブジェクトあるいは <code>T</code> または <code>T</code> を継承した型への参照であるとき、 <code>t1.*f</code> と同じ効果を持つ。</li>
<li><code>N == 1</code> で、<code>f</code> が型 <code>T</code> のメンバオブジェクトへのポインタであり、<code>t1</code> が上記の条件に当てはまらない場合、 <code>(*t1).*f</code> と同じ効果を持つ。</li>
<li>上記の条件のどれにも当てはまらない場合、 <code>f(t1, t2, ..., tN)</code> と同じ効果を持つ。</li>
</ul>
</li>
<li><em>INVOKE</em><code>(f, t1, t2, ..., tN, R)</code> を、 <em>INVOKE</em><code>(f, t1, t2, ..., tN)</code> の実行結果の戻り値が型 <code>R</code> に暗黙的に変換されること、と定義する。</li>
<li><em>call-wrapper</em> が <em>weak-result-type</em> を用意している場合、メンバ型 <code>result_type</code> は<em>target-object</em> の型 <code>T</code> に応じて次のように定義される。<ul>
<li><code>T</code> が関数へのポインタ型であるとき、 <code>result_type</code> は <code>T</code> の戻り値型と等しい。</li>
<li><code>T</code> がメンバ関数へのポインタ型であるとき、 <code>result_type</code> は <code>T</code> の戻り値型と等しい。</li>
<li><code>T</code> が <code>result_type</code> という名前のメンバ型を持つとき、 <code>result_type</code> は <code>T::result_type</code> と等しい。</li>
<li>どの条件にも当てはまらない場合、 <code>result_type</code> は定義されない。</li>
</ul>
</li>
<li>すべての <em>call-wrapper</em> は、<em>MoveAssignable</em> でなければならない。</li>
</ol>
<h2>要件(C++17)</h2>
<ol>
<li>仮想操作 <em>INVOKE</em><code>(f, t1, t2, ..., tN)</code> を次のように定義する。<ul>
<li><code>f</code> が型 <code>T</code> のメンバ関数へのポインタであり、<code><a href="../type_traits/is_base_of.html">is_base_of_v</a>&lt;T, <a href="../type_traits/decay.html">decay_t</a>&lt;decltype(t1)&gt;&gt; == true</code>(<code>t1</code> が <code>T</code> または <code>T</code> を継承した型のオブジェクト/参照)であるとき、 <code>(t1.*f)(t2, ..., tN)</code> と同じ効果を持つ。</li>
<li><code>f</code> が型 <code>T</code> のメンバ関数へのポインタであり、<code><a href="../type_traits/decay.html">decay_t</a>&lt;decltype(t1)&gt;</code>が<code><a href="../functional/reference_wrapper.html">reference_wrapper&lt;T&gt;</a></code>(<code>t1</code>が<code><a href="../functional/reference_wrapper.html">reference_wrapper</a></code>の特殊化)であるとき、 <code>(t1.get().*f)(t2, ..., tN)</code> と同じ効果を持つ。</li>
<li><code>f</code> が型 <code>T</code> のメンバ関数へのポインタであり、 <code>t1</code> が上記の条件に当てはまらない場合(例えば、t1が<code>T</code>のポインタ)、<code>((*t1).*f)(t2, ..., tN)</code> と同じ効果を持つ。</li>
<li><code>N == 1</code> で、<code>f</code> が型 <code>T</code> のメンバオブジェクトへのポインタであり、<code><a href="../type_traits/is_base_of.html">is_base_of_v</a>&lt;T, <a href="../type_traits/decay.html">decay_t</a>&lt;decltype(t1)&gt;&gt; == true</code>(<code>t1</code> が <code>T</code> または <code>T</code> を継承した型のオブジェクト/参照)であるとき、 <code>t1.*f</code> と同じ効果を持つ。</li>
<li><code>N == 1</code> で、<code>f</code> が型 <code>T</code> のメンバオブジェクトへのポインタであり、<code><a href="../type_traits/decay.html">decay_t</a>&lt;decltype(t1)&gt;</code>が<code><a href="../functional/reference_wrapper.html">reference_wrapper&lt;T&gt;</a></code>(<code>t1</code>が<code><a href="../functional/reference_wrapper.html">reference_wrapper</a></code>の特殊化)であるとき、 <code>t1.get().*f</code> と同じ効果を持つ。</li>
<li><code>N == 1</code> で、<code>f</code> が型 <code>T</code> のメンバオブジェクトへのポインタであり、<code>t1</code> が上記の条件に当てはまらない場合(例えば、t1が<code>T</code>のポインタ)、 <code>(*t1).*f</code> と同じ効果を持つ。</li>
<li>上記の条件のどれにも当てはまらない場合、 <code>f(t1, t2, ..., tN)</code> と同じ効果を持つ。</li>
</ul>
</li>
<li><em>INVOKE</em><code>&lt;R&gt;(f, t1, t2, ..., tN)</code> を次のように定義する。<ul>
<li><code>R</code>が<code>void</code>かそのcv修飾の場合は、<code>static_cast&lt;void&gt;(</code><em>INVOKE</em><code>(f, t1, t2, ..., tN))</code>。</li>
<li>それ以外の場合は、<em>INVOKE</em><code>(f, t1, t2, ..., tN)</code> の実行結果の戻り値が型 <code>R</code> に暗黙的に変換されること。</li>
</ul>
</li>
<li>すべての <em>call-wrapper</em> は、<em>MoveConstructible</em> でなければならない。</li>
</ol>
<h2>要件(C++20)</h2>
<ol>
<li>仮想操作 <em>INVOKE</em><code>(f, t1, t2, ..., tN)</code> を次のように定義する。<ul>
<li><code>f</code> が型 <code>T</code> のメンバ関数へのポインタであり、<code><a href="../type_traits/is_same.html">is_same_v</a>&lt;T, <a href="../type_traits/remove_cvref.html">remove_cvref_t</a>&lt;decltype(t1)&gt;&gt; ||<a href="../type_traits/is_base_of.html">is_base_of_v</a>&lt;T, <a href="../type_traits/remove_cvref.html">remove_cvref_t</a>&lt;decltype(t1)&gt;&gt;</code> が <code>true</code>(<code>t1</code> が <code>T</code> または <code>T</code> を継承した型のオブジェクト/参照)であるとき、 <code>(t1.*f)(t2, ..., tN)</code> と同じ効果を持つ。</li>
<li><code>f</code> が型 <code>T</code> のメンバ関数へのポインタであり、<code><a href="../type_traits/remove_cvref.html">remove_cvref_t</a>&lt;decltype(t1)&gt;</code>が<code><a href="../functional/reference_wrapper.html">reference_wrapper&lt;T&gt;</a></code>(<code>t1</code>が<code><a href="../functional/reference_wrapper.html">reference_wrapper</a></code>の特殊化)であるとき、 <code>(t1.get().*f)(t2, ..., tN)</code> と同じ効果を持つ。</li>
<li><code>f</code> が型 <code>T</code> のメンバ関数へのポインタであり、 <code>t1</code> が上記の条件に当てはまらない場合(例えば、t1が<code>T</code>のポインタ)、<code>((*t1).*f)(t2, ..., tN)</code> と同じ効果を持つ。</li>
<li><code>N == 1</code> で、<code>f</code> が型 <code>T</code> のメンバオブジェクトへのポインタであり、<code><a href="../type_traits/is_same.html">is_same_v</a>&lt;T, <a href="../type_traits/remove_cvref.html">remove_cvref_t</a>&lt;decltype(t1)&gt;&gt; ||<a href="../type_traits/is_base_of.html">is_base_of_v</a>&lt;T, <a href="../type_traits/remove_cvref.html">remove_cvref_t</a>&lt;decltype(t1)&gt;&gt;</code> が <code>true</code>(<code>t1</code> が <code>T</code> または <code>T</code> を継承した型のオブジェクト/参照)であるとき、 <code>t1.*f</code> と同じ効果を持つ。</li>
<li><code>N == 1</code> で、<code>f</code> が型 <code>T</code> のメンバオブジェクトへのポインタであり、<code><a href="../type_traits/remove_cvref.html">remove_cvref_t</a>&lt;decltype(t1)&gt;</code>が<code><a href="../functional/reference_wrapper.html">reference_wrapper&lt;T&gt;</a></code>(<code>t1</code>が<code><a href="../functional/reference_wrapper.html">reference_wrapper</a></code>の特殊化)であるとき、 <code>t1.get().*f</code> と同じ効果を持つ。</li>
<li><code>N == 1</code> で、<code>f</code> が型 <code>T</code> のメンバオブジェクトへのポインタであり、<code>t1</code> が上記の条件に当てはまらない場合(例えば、t1が<code>T</code>のポインタ)、 <code>(*t1).*f</code> と同じ効果を持つ。</li>
<li>上記の条件のどれにも当てはまらない場合、 <code>f(t1, t2, ..., tN)</code> と同じ効果を持つ。</li>
</ul>
</li>
<li><em>INVOKE</em><code>&lt;R&gt;(f, t1, t2, ..., tN)</code> を次のように定義する。<ul>
<li><code>R</code>が<code>void</code>かそのcv修飾の場合は、<code>static_cast&lt;void&gt;(</code><em>INVOKE</em><code>(f, t1, t2, ..., tN))</code>。</li>
<li>それ以外の場合は、<em>INVOKE</em><code>(f, t1, t2, ..., tN)</code> の実行結果の戻り値が型 <code>R</code> に暗黙的に変換されること。</li>
</ul>
</li>
<li>すべての <em>call-wrapper</em> は、<em>Cpp17MoveConstructible</em> かつ <em>Cpp17Destructible</em> でなければならない。</li>
</ol>
<h2>要件(C++23差分)</h2>
<p>C++20 における 2. について、次の文言を項目の最後に追加する。この変更は、<code>R</code>が参照かつ<em>INVOKE</em>の実行結果が<code>R</code>に束縛されることで寿命が延長される場合にダングリング参照が作成されてしまう事例を検出するための要件である。</p>
<ul>
<li><code><a href="../type_traits/reference_converts_from_temporary.html">reference_converts_from_temporary_v</a>&lt;R, decltype(</code><em>INVOKE</em><code>(f, t1, t2, …, tN))&gt; == true</code>の場合、<em>INVOKE</em><code>&lt;R&gt;(f, t1, t2, …, tN)</code>は<a class="cpprefjp-defined-word">不適格</a>。</li>
</ul>
<h2>まとめ</h2>
<p><a href="https://twitter.com/Cryolite/status/216814363221303296" target="_blank">第1引数がメンバ関数へのポインタの場合でも非静的メンバデータへのポインタの場合でも,第2引数がクラスオブジェクトへの参照の場合でもポインタの場合でもポインタっぽいものの場合でも,なんか知らんけどそれっぽく上手くいく</a> ように取り計らった操作のことである。</p>
<h2>関連項目</h2>
<ul>
<li><code><a href="../functional/function.html">function</a></code></li>
<li><code><a href="../functional/reference_wrapper.html">reference_wrapper</a></code></li>
<li><code><a href="../functional/bind.html">bind</a></code></li>
<li><code><a href="../functional/mem_fn.html">mem_fn</a></code></li>
<li><code><a href="../functional/not_fn.html">not_fn</a></code></li>
<li><code><a href="../thread/thread.html">thread</a></code></li>
<li><code><a href="../future/async.html">async</a></code></li>
<li><code><a href="../future/packaged_task.html">packaged_task</a></code></li>
<li><code><a href="../mutex/call_once.html">call_once</a></code></li>
</ul>
<h2>参照</h2>
<ul>
<li><a href="https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2017/p0777r1.pdf" target="_blank">P0777R1 Treating Unnecessary <code>decay</code></a><ul>
<li>C++20から<code>decay_t</code>を<code>remove_cvref_t</code>へ変更。</li>
</ul>
</li>
<li><a href="https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2021/p2136r3.html" target="_blank">P2136R3 <code>invoke_r</code></a></li>
<li><a href="https://cplusplus.github.io/LWG/issue3655" target="_blank">LWG Issue 3655. The <em>INVOKE</em> operation and union types</a><ul>
<li>C++23で、メンバポインタの判定を<code>is_base_of_v</code>単独から<code>is_same_v || is_base_of_v</code>に変更し、共用体(union)型でも正しく扱えるようにした</li>
</ul>
</li>
</ul></div></content>
<author>
<name>Akira Takahashi</name>
<email>faithandbrave@gmail.com</email>
</author>
</entry>
<entry>
<title>intmax_t -- Merge pull request #1735 from cpprefjp/cpp23_lib_issues2</title>
<link href="https://cpprefjp.github.io/reference/cstdint/intmax_t.html"/>
<id>d5727fb4b5b8b946983c974bd18ac6616ad7f0d5:reference/cstdint/intmax_t.md</id>
<updated>2026-08-18T11:29:46+09:00</updated>
<summary type="html"><pre><code>diff --git a/reference/cstdint/intmax_t.md b/reference/cstdint/intmax_t.md
index d5553e767..7e7f8c83b 100644
--- a/reference/cstdint/intmax_t.md
+++ b/reference/cstdint/intmax_t.md
@@ -14,6 +14,11 @@ namespace std {
## 概要
最大の符号付き整数型。
+
+## 備考
+最大幅の符号付き整数型ではあるが、`long long`より広い拡張整数型のすべての値を表現できる必要はない。
+
+
## バージョン
### 言語
- C++11
@@ -23,3 +28,8 @@ namespace std {
- [GCC](/implementation.md#gcc): 4.7.0 [mark verified]
- [ICC](/implementation.md#icc): ??
- [Visual C++](/implementation.md#visual_cpp): 2010 [mark verified], 2012 [mark verified], 2013 [mark verified]
+
+
+## 参照
+- [LWG Issue 3828. Sync `intmax_t` and `uintmax_t` with C2x](https://cplusplus.github.io/LWG/issue3828)
+ - C++23で、C23との同期のため、`intmax_t`は`long long`より広い拡張整数型のすべての値を表現できる必要はないことが明確化された
</code></pre></summary>
<author>
<name>Akira Takahashi</name>
<email>faithandbrave@gmail.com</email>
</author>
</entry>
<entry>
<title>uintmax_t -- Merge pull request #1735 from cpprefjp/cpp23_lib_issues2</title>
<link href="https://cpprefjp.github.io/reference/cstdint/uintmax_t.html"/>
<id>d5727fb4b5b8b946983c974bd18ac6616ad7f0d5:reference/cstdint/uintmax_t.md</id>
<updated>2026-08-18T11:29:46+09:00</updated>
<summary type="html"><pre><code>diff --git a/reference/cstdint/uintmax_t.md b/reference/cstdint/uintmax_t.md
index b2b0b65bb..fbcaf48b0 100644
--- a/reference/cstdint/uintmax_t.md
+++ b/reference/cstdint/uintmax_t.md
@@ -14,6 +14,11 @@ namespace std {
## 概要
最大の符号なし整数型。
+
+## 備考
+最大幅の符号なし整数型ではあるが、`unsigned long long`より広い拡張整数型のすべての値を表現できる必要はない。
+
+
## バージョン
### 言語
- C++11
@@ -23,3 +28,8 @@ namespace std {
- [GCC](/implementation.md#gcc): 4.7.0 [mark verified]
- [ICC](/implementation.md#icc): ??
- [Visual C++](/implementation.md#visual_cpp): 2010 [mark verified], 2012 [mark verified], 2013 [mark verified]
+
+
+## 参照
+- [LWG Issue 3828. Sync `intmax_t` and `uintmax_t` with C2x](https://cplusplus.github.io/LWG/issue3828)
+ - C++23で、C23との同期のため、`uintmax_t`は`unsigned long long`より広い拡張整数型のすべての値を表現できる必要はないことが明確化された
</code></pre></summary>
<author>
<name>Akira Takahashi</name>
<email>faithandbrave@gmail.com</email>
</author>
</entry>
<entry>
<title>and_then -- Merge pull request #1735 from cpprefjp/cpp23_lib_issues2</title>
<link href="https://cpprefjp.github.io/reference/expected/expected/and_then.html"/>
<id>d5727fb4b5b8b946983c974bd18ac6616ad7f0d5:reference/expected/expected/and_then.md</id>
<updated>2026-08-18T11:29:46+09:00</updated>
<summary type="html"><pre><code>diff --git a/reference/expected/expected/and_then.md b/reference/expected/expected/and_then.md
index 30953f9c4..a4ba823b7 100644
--- a/reference/expected/expected/and_then.md
+++ b/reference/expected/expected/and_then.md
@@ -30,8 +30,8 @@ class expected {
## テンプレートパラメータ制約
-- (1), (2) : [`is_copy_constructible_v`](/reference/type_traits/is_copy_constructible.md)`&lt;E&gt; == true`
-- (3), (4) : [`is_move_constructible_v`](/reference/type_traits/is_move_constructible.md)`&lt;E&gt; == true`
+- (1), (2) : [`is_constructible_v`](/reference/type_traits/is_constructible.md)`&lt;E, decltype(`[`error()`](error.md)`)&gt; == true`
+- (3), (4) : [`is_constructible_v`](/reference/type_traits/is_constructible.md)`&lt;E, decltype(`[`std::move`](/reference/utility/move.md)`(`[`error()`](error.md)`))&gt; == true`
## 適格要件
@@ -133,5 +133,7 @@ int main()
## 参照
- [P2505R5 Monadic Functions for `std::expected`](https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2022/p2505r5.html)
+- [LWG Issue 3877. Incorrect constraints on `const`-qualified monadic overloads for `std::expected`](https://cplusplus.github.io/LWG/issue3877)
+ - C++23で、`const`修飾版で誤ってエラーになる問題を解消するため、制約が`is_copy_constructible_v&lt;E&gt;`から`is_constructible_v&lt;E, decltype(error())&gt;`(右辺値版は`decltype(std::move(error()))`)へ変更された
- [LWG Issue 3938. Cannot use `std::expected` monadic ops with move-only `error_type`](https://cplusplus.github.io/LWG/issue3938)
- C++26で、効果および適格要件で正常値へのアクセスに[`value()`](value.md)ではなく[`**this`](op_deref.md)を使うよう修正され、ムーブのみ可能な`error_type`でも使用できるようになった
</code></pre></summary>
<author>
<name>Akira Takahashi</name>
<email>faithandbrave@gmail.com</email>
</author>
</entry>
<entry>
<title>コンストラクタ -- Merge pull request #1735 from cpprefjp/cpp23_lib_issues2</title>
<link href="https://cpprefjp.github.io/reference/expected/expected/op_constructor.html"/>
<id>d5727fb4b5b8b946983c974bd18ac6616ad7f0d5:reference/expected/expected/op_constructor.md</id>
<updated>2026-08-18T11:29:46+09:00</updated>
<summary type="html"><pre><code>diff --git a/reference/expected/expected/op_constructor.md b/reference/expected/expected/op_constructor.md
index 4f12e545c..5fc2abb4f 100644
--- a/reference/expected/expected/op_constructor.md
+++ b/reference/expected/expected/op_constructor.md
@@ -73,7 +73,7 @@ constexpr bool converts-from-any-cvref =
- (4) : 次の制約を全て満たすこと
- [`is_constructible_v`](/reference/type_traits/is_constructible.md)`&lt;T, const U&amp;&gt; == true`
- [`is_constructible_v`](/reference/type_traits/is_constructible.md)`&lt;E, const G&amp;&gt; == true`
- - `converts-from-any-cvref&lt;T, expected&lt;U, G&gt;&gt; == false`
+ - `T`が cv `bool` でない場合、`converts-from-any-cvref&lt;T, expected&lt;U, G&gt;&gt; == false`
- [`is_constructible_v`](/reference/type_traits/is_constructible.md)`&lt;`[`unexpected`](../unexpected.md)`&lt;E&gt;, expected&lt;U, G&gt;&amp;&gt; == false`
- [`is_constructible_v`](/reference/type_traits/is_constructible.md)`&lt;`[`unexpected`](../unexpected.md)`&lt;E&gt;, expected&lt;U, G&gt;&gt; == false`
- [`is_constructible_v`](/reference/type_traits/is_constructible.md)`&lt;`[`unexpected`](../unexpected.md)`&lt;E&gt;, const expected&lt;U, G&gt;&amp;&gt; == false`
@@ -81,7 +81,7 @@ constexpr bool converts-from-any-cvref =
- (5) : 次の制約を全て満たすこと
- [`is_constructible_v`](/reference/type_traits/is_constructible.md)`&lt;T, U&gt; == true`
- [`is_constructible_v`](/reference/type_traits/is_constructible.md)`&lt;E, G&gt; == true`
- - `converts-from-any-cvref&lt;T, expected&lt;U, G&gt;&gt; == false`
+ - `T`が cv `bool` でない場合、`converts-from-any-cvref&lt;T, expected&lt;U, G&gt;&gt; == false`
- [`is_constructible_v`](/reference/type_traits/is_constructible.md)`&lt;`[`unexpected`](../unexpected.md)`&lt;E&gt;, expected&lt;U, G&gt;&amp;&gt; == false`
- [`is_constructible_v`](/reference/type_traits/is_constructible.md)`&lt;`[`unexpected`](../unexpected.md)`&lt;E&gt;, expected&lt;U, G&gt;&gt; == false`
- [`is_constructible_v`](/reference/type_traits/is_constructible.md)`&lt;`[`unexpected`](../unexpected.md)`&lt;E&gt;, const expected&lt;U, G&gt;&amp;&gt; == false`
@@ -91,6 +91,7 @@ constexpr bool converts-from-any-cvref =
- [`is_same_v`](/reference/type_traits/is_same.md)`&lt;expected,` [`remove_cvref_t`](/reference/type_traits/remove_cvref.md)`&lt;U&gt;&gt; == false`
- [`is_same_v`](/reference/type_traits/is_same.md)`&lt;`[`remove_cvref_t`](/reference/type_traits/remove_cvref.md)`&lt;U&gt;,` [`unexpect_t`](../unexpect_t.md)`&gt; == false`
- [`remove_cvref_t`](/reference/type_traits/remove_cvref.md)`&lt;U&gt;`は[`unexpected`](../unexpected.md)の特殊化でない
+ - `T`が cv `bool` の場合、[`remove_cvref_t`](/reference/type_traits/remove_cvref.md)`&lt;U&gt;`は`expected`の特殊化でない
- [`is_constructible_v`](/reference/type_traits/is_constructible.md)`&lt;T, U&gt; == true`
- (7) : [`is_constructible_v`](/reference/type_traits/is_constructible.md)`&lt;E, const G&amp;&gt; == true`
- (8) : [`is_constructible_v`](/reference/type_traits/is_constructible.md)`&lt;E, G&gt; == true`
@@ -320,5 +321,7 @@ int main()
## 参照
- [P0323R12 std::expected](https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2022/p0323r12.html)
+- [LWG Issue 3836. `std::expected&lt;bool, E1&gt;` conversion constructor `expected(const expected&lt;U, G&gt;&amp;)` should take precedence over `expected(U&amp;&amp;)` with operator bool](https://cplusplus.github.io/LWG/issue3836)
+ - C++23で、`T`が cv `bool` のときに変換コンストラクタ(4)(5)が単一値コンストラクタ(6)に優先されるよう、(4)(5)の`converts-from-any-cvref`制約に「`T`が cv `bool` でない場合」の条件を付け、(6)に「`T`が cv `bool` の場合、`remove_cvref_t&lt;U&gt;`は`expected`の特殊化でない」制約を追加した
- [LWG Issue 4222. `expected` constructor from a single value missing a constraint](https://cplusplus.github.io/LWG/issue4222)
- C++26で、(6)の制約に[`remove_cvref_t`](/reference/type_traits/remove_cvref.md)`&lt;U&gt;`が[`unexpect_t`](../unexpect_t.md)でないことが追加された
</code></pre></summary>
<author>
<name>Akira Takahashi</name>
<email>faithandbrave@gmail.com</email>
</author>
</entry>
<entry>
<title>or_else -- Merge pull request #1735 from cpprefjp/cpp23_lib_issues2</title>
<link href="https://cpprefjp.github.io/reference/expected/expected/or_else.html"/>
<id>d5727fb4b5b8b946983c974bd18ac6616ad7f0d5:reference/expected/expected/or_else.md</id>
<updated>2026-08-18T11:29:46+09:00</updated>
<summary type="html"><pre><code>diff --git a/reference/expected/expected/or_else.md b/reference/expected/expected/or_else.md
index 57df61de6..42f44796c 100644
--- a/reference/expected/expected/or_else.md
+++ b/reference/expected/expected/or_else.md
@@ -30,8 +30,8 @@ class expected {
## テンプレートパラメータ制約
-- (1), (2) : [`is_copy_constructible_v`](/reference/type_traits/is_copy_constructible.md)`&lt;T&gt; == true`
-- (3), (4) : [`is_move_constructible_v`](/reference/type_traits/is_move_constructible.md)`&lt;T&gt; == true`
+- (1), (2) : [`is_constructible_v`](/reference/type_traits/is_constructible.md)`&lt;T, decltype(`[`value()`](value.md)`)&gt; == true`
+- (3), (4) : [`is_constructible_v`](/reference/type_traits/is_constructible.md)`&lt;T, decltype(`[`std::move`](/reference/utility/move.md)`(`[`value()`](value.md)`))&gt; == true`
## 適格要件
@@ -137,5 +137,7 @@ int main()
## 参照
- [P2505R5 Monadic Functions for `std::expected`](https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2022/p2505r5.html)
+- [LWG Issue 3877. Incorrect constraints on `const`-qualified monadic overloads for `std::expected`](https://cplusplus.github.io/LWG/issue3877)
+ - C++23で、`const`修飾版で誤ってエラーになる問題を解消するため、制約が`is_copy_constructible_v&lt;T&gt;`から`is_constructible_v&lt;T, decltype(value())&gt;`(右辺値版は`decltype(std::move(value()))`)へ変更された
- [LWG Issue 3938. Cannot use `std::expected` monadic ops with move-only `error_type`](https://cplusplus.github.io/LWG/issue3938)
- C++26で、効果で正常値へのアクセスに[`value()`](value.md)ではなく[`**this`](op_deref.md)を使うよう修正され、ムーブのみ可能な`error_type`でも使用できるようになった
</code></pre></summary>
<author>
<name>Akira Takahashi</name>
<email>faithandbrave@gmail.com</email>
</author>
</entry>
<entry>
<title>transform -- Merge pull request #1735 from cpprefjp/cpp23_lib_issues2</title>
<link href="https://cpprefjp.github.io/reference/expected/expected/transform.html"/>
<id>d5727fb4b5b8b946983c974bd18ac6616ad7f0d5:reference/expected/expected/transform.md</id>
<updated>2026-08-18T11:29:46+09:00</updated>
<summary type="html"><pre><code>diff --git a/reference/expected/expected/transform.md b/reference/expected/expected/transform.md
index 27b23a941..66a49e8cf 100644
--- a/reference/expected/expected/transform.md
+++ b/reference/expected/expected/transform.md
@@ -30,8 +30,8 @@ class expected {
## テンプレートパラメータ制約
-- (1), (2) : [`is_copy_constructible_v`](/reference/type_traits/is_copy_constructible.md)`&lt;E&gt; == true`
-- (3), (4) : [`is_move_constructible_v`](/reference/type_traits/is_move_constructible.md)`&lt;E&gt; == true`
+- (1), (2) : [`is_constructible_v`](/reference/type_traits/is_constructible.md)`&lt;E, decltype(`[`error()`](error.md)`)&gt; == true`
+- (3), (4) : [`is_constructible_v`](/reference/type_traits/is_constructible.md)`&lt;E, decltype(`[`std::move`](/reference/utility/move.md)`(`[`error()`](error.md)`))&gt; == true`
## 適格要件
@@ -112,5 +112,7 @@ int main()
## 参照
- [P2505R5 Monadic Functions for `std::expected`](https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2022/p2505r5.html)
+- [LWG Issue 3877. Incorrect constraints on `const`-qualified monadic overloads for `std::expected`](https://cplusplus.github.io/LWG/issue3877)
+ - C++23で、`const`修飾版で誤ってエラーになる問題を解消するため、制約が`is_copy_constructible_v&lt;E&gt;`から`is_constructible_v&lt;E, decltype(error())&gt;`(右辺値版は`decltype(std::move(error()))`)へ変更された
- [LWG Issue 3938. Cannot use `std::expected` monadic ops with move-only `error_type`](https://cplusplus.github.io/LWG/issue3938)
- C++26で、効果および適格要件で正常値へのアクセスに[`value()`](value.md)ではなく[`**this`](op_deref.md)を使うよう修正され、ムーブのみ可能な`error_type`でも使用できるようになった
</code></pre></summary>
<author>
<name>Akira Takahashi</name>
<email>faithandbrave@gmail.com</email>
</author>
</entry>
<entry>
<title>transform_error -- Merge pull request #1735 from cpprefjp/cpp23_lib_issues2</title>
<link href="https://cpprefjp.github.io/reference/expected/expected/transform_error.html"/>
<id>d5727fb4b5b8b946983c974bd18ac6616ad7f0d5:reference/expected/expected/transform_error.md</id>
<updated>2026-08-18T11:29:46+09:00</updated>
<summary type="html"><pre><code>diff --git a/reference/expected/expected/transform_error.md b/reference/expected/expected/transform_error.md
index 87ed4bfda..6c4518f45 100644
--- a/reference/expected/expected/transform_error.md
+++ b/reference/expected/expected/transform_error.md
@@ -30,8 +30,8 @@ class expected {
## テンプレートパラメータ制約
-- (1), (2) : [`is_copy_constructible_v`](/reference/type_traits/is_copy_constructible.md)`&lt;T&gt; == true`
-- (3), (4) : [`is_move_constructible_v`](/reference/type_traits/is_move_constructible.md)`&lt;T&gt; == true`
+- (1), (2) : [`is_constructible_v`](/reference/type_traits/is_constructible.md)`&lt;T, decltype(`[`value()`](value.md)`)&gt; == true`
+- (3), (4) : [`is_constructible_v`](/reference/type_traits/is_constructible.md)`&lt;T, decltype(`[`std::move`](/reference/utility/move.md)`(`[`value()`](value.md)`))&gt; == true`
## 適格要件
@@ -111,5 +111,7 @@ int main()
- [P2505R5 Monadic Functions for `std::expected`](https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2022/p2505r5.html)
- [LWG Issue 3866. Bad Mandates for `expected::transform_error` overloads](https://cplusplus.github.io/LWG/issue3866)
- C++23で、適格要件が「`G`が`expected`の有効なエラー値型である」から「`G`が[`unexpected`](../unexpected.md)の有効なテンプレート引数である」に修正された(`const int`のように`expected`のエラー値型としては有効でも`unexpected`のテンプレート引数としては無効な型があり、旧文言は実装不能だったため)
+- [LWG Issue 3877. Incorrect constraints on `const`-qualified monadic overloads for `std::expected`](https://cplusplus.github.io/LWG/issue3877)
+ - C++23で、`const`修飾版で誤ってエラーになる問題を解消するため、制約が`is_copy_constructible_v&lt;T&gt;`から`is_constructible_v&lt;T, decltype(value())&gt;`(右辺値版は`decltype(std::move(value()))`)へ変更された
- [LWG Issue 3938. Cannot use `std::expected` monadic ops with move-only `error_type`](https://cplusplus.github.io/LWG/issue3938)
- C++26で、効果で正常値へのアクセスに[`value()`](value.md)ではなく[`**this`](op_deref.md)を使うよう修正され、ムーブのみ可能な`error_type`でも使用できるようになった
</code></pre></summary>
<author>
<name>Akira Takahashi</name>
<email>faithandbrave@gmail.com</email>
</author>
</entry>
<entry>
<title>value -- Merge pull request #1735 from cpprefjp/cpp23_lib_issues2</title>
<link href="https://cpprefjp.github.io/reference/expected/expected/value.html"/>
<id>d5727fb4b5b8b946983c974bd18ac6616ad7f0d5:reference/expected/expected/value.md</id>
<updated>2026-08-18T11:29:46+09:00</updated>
<summary type="html"><pre><code>diff --git a/reference/expected/expected/value.md b/reference/expected/expected/value.md
index e3dc3af1a..70c200476 100644
--- a/reference/expected/expected/value.md
+++ b/reference/expected/expected/value.md
@@ -16,6 +16,11 @@ constexpr T&amp;&amp; value() &amp;&amp;; // (4)
正常値を取得する。
+## 適格要件
+- (1), (2) : [`is_copy_constructible_v`](/reference/type_traits/is_copy_constructible.md)`&lt;E&gt; == true`
+- (3), (4) : [`is_copy_constructible_v`](/reference/type_traits/is_copy_constructible.md)`&lt;E&gt; == true`、かつ、[`is_constructible_v`](/reference/type_traits/is_constructible.md)`&lt;E, decltype(`[`std::move`](/reference/utility/move.md)`(`[`error()`](error.md)`))&gt; == true`
+
+
## 戻り値
動作説明用のメンバ変数として、正常値を保持する`val`を導入する。
@@ -28,7 +33,7 @@ constexpr T&amp;&amp; value() &amp;&amp;; // (4)
この関数は、例外を送出しうるため、フリースタンディング処理系では削除される(フリースタンディング処理系では使用できない)。
## 例外
-- (1), (2) : エラー値を保持していたら、例外[`bad_expected_access`](../bad_expected_access.md)`(`[`error()`](error.md)`)`を送出する
+- (1), (2) : エラー値を保持していたら、例外[`bad_expected_access`](../bad_expected_access.md)`(`[`as_const`](/reference/utility/as_const.md)`(`[`error()`](error.md)`))`を送出する
- (3), (4) : エラー値を保持していたら、例外[`bad_expected_access`](../bad_expected_access.md)`(`[`std::move`](/reference/utility/move.md)`(`[`error()`](error.md)`))`を送出する
@@ -82,3 +87,5 @@ throw:ERR
## 参照
- [P0323R12 std::expected](https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2022/p0323r12.html)
+- [LWG Issue 3843. `std::expected&lt;T,E&gt;::value() &amp;` assumes `E` is copy constructible](https://cplusplus.github.io/LWG/issue3843)
+ - C++23で、`E`のコピー構築可能性等を要求する適格要件が追加され、あわせて(1), (2)が送出する例外が`bad_expected_access(error())`から`bad_expected_access(as_const(error()))`に修正された
</code></pre></summary>
<author>
<name>Akira Takahashi</name>
<email>faithandbrave@gmail.com</email>
</author>
</entry>
<entry>
<title>コンストラクタ -- Merge pull request #1735 from cpprefjp/cpp23_lib_issues2</title>
<link href="https://cpprefjp.github.io/reference/flat_map/flat_map/op_constructor.html"/>
<id>d5727fb4b5b8b946983c974bd18ac6616ad7f0d5:reference/flat_map/flat_map/op_constructor.md</id>
<updated>2026-08-18T11:29:46+09:00</updated>
<summary type="html"><pre><code>diff --git a/reference/flat_map/flat_map/op_constructor.md b/reference/flat_map/flat_map/op_constructor.md
index 74383717e..d0991b482 100644
--- a/reference/flat_map/flat_map/op_constructor.md
+++ b/reference/flat_map/flat_map/op_constructor.md
@@ -451,6 +451,8 @@ int main()
## 参照
+- [LWG Issue 3803. `flat_foo` constructors taking `KeyContainer` lack `KeyCompare` parameter](https://cplusplus.github.io/LWG/issue3803)
+ - C++23で、コンテナを取るコンストラクタに比較子`key_compare`を明示指定できる引数が追加された
- [LWG Issue 3884. `flat_foo` is missing allocator-extended copy/move constructors](https://cplusplus.github.io/LWG/issue3884)
- C++26で、`flat_map`にアロケータを指定するコピーコンストラクタ(5)とムーブコンストラクタ(6)が追加された
- [P3372R3 constexpr containers and adaptors](https://open-std.org/jtc1/sc22/wg21/docs/papers/2025/p3372r3.html)
</code></pre></summary>
<author>
<name>Akira Takahashi</name>
<email>faithandbrave@gmail.com</email>
</author>
</entry>
<entry>
<title>推論補助 -- Merge pull request #1735 from cpprefjp/cpp23_lib_issues2</title>
<link href="https://cpprefjp.github.io/reference/flat_map/flat_map/op_deduction_guide.html"/>
<id>d5727fb4b5b8b946983c974bd18ac6616ad7f0d5:reference/flat_map/flat_map/op_deduction_guide.md</id>
<updated>2026-08-18T11:29:46+09:00</updated>
<summary type="html"><pre><code>diff --git a/reference/flat_map/flat_map/op_deduction_guide.md b/reference/flat_map/flat_map/op_deduction_guide.md
index 03544f1a7..f8ca6b6d6 100644
--- a/reference/flat_map/flat_map/op_deduction_guide.md
+++ b/reference/flat_map/flat_map/op_deduction_guide.md
@@ -129,3 +129,5 @@ namespace std {
## 参照
- [LWG Issue 3025. Map-like container deduction guides should use `pair&lt;Key, T&gt;`, not `pair&lt;const Key, T&gt;`](https://wg21.cmeerw.net/lwg/issue3025)
+- [LWG Issue 3786. Flat maps&#39; deduction guide needs to default `Allocator` to be useful](https://cplusplus.github.io/LWG/issue3786)
+ - C++23で、`from_range_t`を取る推論補助で`Allocator`テンプレート引数がデフォルト化され、非デフォルトのアロケータのために推論補助が使えなかった問題が修正された。あわせて`(from_range_t, R&amp;&amp;, Allocator)`の推論補助が追加された
</code></pre></summary>
<author>
<name>Akira Takahashi</name>
<email>faithandbrave@gmail.com</email>
</author>
</entry>
<entry>
<title>コンストラクタ -- Merge pull request #1735 from cpprefjp/cpp23_lib_issues2</title>
<link href="https://cpprefjp.github.io/reference/flat_map/flat_multimap/op_constructor.html"/>
<id>d5727fb4b5b8b946983c974bd18ac6616ad7f0d5:reference/flat_map/flat_multimap/op_constructor.md</id>
<updated>2026-08-18T11:29:46+09:00</updated>
<summary type="html"><pre><code>diff --git a/reference/flat_map/flat_multimap/op_constructor.md b/reference/flat_map/flat_multimap/op_constructor.md
index 57c8e8be1..1ac42603e 100644
--- a/reference/flat_map/flat_multimap/op_constructor.md
+++ b/reference/flat_map/flat_multimap/op_constructor.md
@@ -447,6 +447,8 @@ int main()
## 参照
+- [LWG Issue 3803. `flat_foo` constructors taking `KeyContainer` lack `KeyCompare` parameter](https://cplusplus.github.io/LWG/issue3803)
+ - C++23で、コンテナを取るコンストラクタに比較子`key_compare`を明示指定できる引数が追加された
- [LWG Issue 3884. `flat_foo` is missing allocator-extended copy/move constructors](https://cplusplus.github.io/LWG/issue3884)
- C++26で、`flat_multimap`にアロケータを指定するコピーコンストラクタ(5)とムーブコンストラクタ(6)が追加された
- [P3372R3 constexpr containers and adaptors](https://open-std.org/jtc1/sc22/wg21/docs/papers/2025/p3372r3.html)
</code></pre></summary>
<author>
<name>Akira Takahashi</name>
<email>faithandbrave@gmail.com</email>
</author>
</entry>
<entry>
<title>推論補助 -- Merge pull request #1735 from cpprefjp/cpp23_lib_issues2</title>
<link href="https://cpprefjp.github.io/reference/flat_map/flat_multimap/op_deduction_guide.html"/>
<id>d5727fb4b5b8b946983c974bd18ac6616ad7f0d5:reference/flat_map/flat_multimap/op_deduction_guide.md</id>
<updated>2026-08-18T11:29:46+09:00</updated>
<summary type="html"><pre><code>diff --git a/reference/flat_map/flat_multimap/op_deduction_guide.md b/reference/flat_map/flat_multimap/op_deduction_guide.md
index f9b79f3d8..77d4f09b2 100644
--- a/reference/flat_map/flat_multimap/op_deduction_guide.md
+++ b/reference/flat_map/flat_multimap/op_deduction_guide.md
@@ -129,3 +129,5 @@ namespace std {
## 参照
- [LWG Issue 3025. Map-like container deduction guides should use `pair&lt;Key, T&gt;`, not `pair&lt;const Key, T&gt;`](https://wg21.cmeerw.net/lwg/issue3025)
+- [LWG Issue 3786. Flat maps&#39; deduction guide needs to default `Allocator` to be useful](https://cplusplus.github.io/LWG/issue3786)
+ - C++23で、`from_range_t`を取る推論補助で`Allocator`テンプレート引数がデフォルト化され、非デフォルトのアロケータのために推論補助が使えなかった問題が修正された。あわせて`(from_range_t, R&amp;&amp;, Allocator)`の推論補助が追加された
</code></pre></summary>
<author>
<name>Akira Takahashi</name>
<email>faithandbrave@gmail.com</email>
</author>
</entry>
<entry>
<title>erase_if -- Merge pull request #1735 from cpprefjp/cpp23_lib_issues2</title>
<link href="https://cpprefjp.github.io/reference/flat_set/flat_multiset/erase_if_free.html"/>
<id>d5727fb4b5b8b946983c974bd18ac6616ad7f0d5:reference/flat_set/flat_multiset/erase_if_free.md</id>
<updated>2026-08-18T11:29:46+09:00</updated>
<summary type="html"><pre><code>diff --git a/reference/flat_set/flat_multiset/erase_if_free.md b/reference/flat_set/flat_multiset/erase_if_free.md
index 9efcb5bd6..2caf30c2e 100644
--- a/reference/flat_set/flat_multiset/erase_if_free.md
+++ b/reference/flat_set/flat_multiset/erase_if_free.md
@@ -28,11 +28,11 @@ namespace std {
## 事前条件
-- `Key`と`T`がムーブ代入可能であること
+- `Key`がムーブ代入可能であること
## 効果
-メンバ変数として保持しているコンテナ`c`の各要素`e`について、`bool(pred(e))`を`E`として、`E`が`true`であるすべての要素を削除する。
+メンバ変数として保持しているコンテナ`c`の各要素`e`について、`bool(pred(`[`as_const`](/reference/utility/as_const.md)`(e)))`を`E`として、`E`が`true`であるすべての要素を削除する。
## 戻り値
@@ -84,4 +84,6 @@ int main()
## 参照
+- [LWG Issue 3879. `erase_if` for `flat_{,multi}set` is incorrectly specified](https://cplusplus.github.io/LWG/issue3879)
+ - C++23で、`flat_set`/`flat_multiset`は要素の`const`ビューしか提供しないため、述語を`bool(pred(as_const(e)))`として評価するよう効果が修正された
- [P3372R3 constexpr containers and adaptors](https://open-std.org/jtc1/sc22/wg21/docs/papers/2025/p3372r3.html)
</code></pre></summary>
<author>
<name>Akira Takahashi</name>
<email>faithandbrave@gmail.com</email>
</author>
</entry>
<entry>
<title>コンストラクタ -- Merge pull request #1735 from cpprefjp/cpp23_lib_issues2</title>
<link href="https://cpprefjp.github.io/reference/flat_set/flat_multiset/op_constructor.html"/>
<id>d5727fb4b5b8b946983c974bd18ac6616ad7f0d5:reference/flat_set/flat_multiset/op_constructor.md</id>
<updated>2026-08-18T11:29:46+09:00</updated>
<summary type="html"><pre><code>diff --git a/reference/flat_set/flat_multiset/op_constructor.md b/reference/flat_set/flat_multiset/op_constructor.md
index 99c75ca06..66b5c7c88 100644
--- a/reference/flat_set/flat_multiset/op_constructor.md
+++ b/reference/flat_set/flat_multiset/op_constructor.md
@@ -432,6 +432,8 @@ int main()
## 参照
+- [LWG Issue 3803. `flat_foo` constructors taking `KeyContainer` lack `KeyCompare` parameter](https://cplusplus.github.io/LWG/issue3803)
+ - C++23で、コンテナを取るコンストラクタに比較子`key_compare`を明示指定できる引数が追加された
- [LWG Issue 3884. `flat_foo` is missing allocator-extended copy/move constructors](https://cplusplus.github.io/LWG/issue3884)
- C++26で、`flat_multiset`にアロケータを指定するコピーコンストラクタ(5)とムーブコンストラクタ(6)が追加された
- [P3372R3 constexpr containers and adaptors](https://open-std.org/jtc1/sc22/wg21/docs/papers/2025/p3372r3.html)
</code></pre></summary>
<author>
<name>Akira Takahashi</name>
<email>faithandbrave@gmail.com</email>
</author>
</entry>
<entry>
<title>推論補助 -- Merge pull request #1735 from cpprefjp/cpp23_lib_issues2</title>
<link href="https://cpprefjp.github.io/reference/flat_set/flat_multiset/op_deduction_guide.html"/>
<id>d5727fb4b5b8b946983c974bd18ac6616ad7f0d5:reference/flat_set/flat_multiset/op_deduction_guide.md</id>
<updated>2026-08-18T11:29:46+09:00</updated>
<summary type="html"><pre><code>diff --git a/reference/flat_set/flat_multiset/op_deduction_guide.md b/reference/flat_set/flat_multiset/op_deduction_guide.md
index 52cd057a2..b9d34faec 100644
--- a/reference/flat_set/flat_multiset/op_deduction_guide.md
+++ b/reference/flat_set/flat_multiset/op_deduction_guide.md
@@ -104,3 +104,8 @@ namespace std {
- [Clang](/implementation.md#clang): ??
- [GCC](/implementation.md#gcc): ??
- [Visual C++](/implementation.md#visual_cpp): ??
+
+
+## 参照
+- [LWG Issue 3786. Flat maps&#39; deduction guide needs to default `Allocator` to be useful](https://cplusplus.github.io/LWG/issue3786)
+ - C++23で、`from_range_t`を取る推論補助で`Allocator`テンプレート引数がデフォルト化され、非デフォルトのアロケータのために推論補助が使えなかった問題が修正された。あわせて`(from_range_t, R&amp;&amp;, Allocator)`の推論補助が追加された
</code></pre></summary>
<author>
<name>Akira Takahashi</name>
<email>faithandbrave@gmail.com</email>
</author>
</entry>
<entry>
<title>erase_if -- Merge pull request #1735 from cpprefjp/cpp23_lib_issues2</title>
<link href="https://cpprefjp.github.io/reference/flat_set/flat_set/erase_if_free.html"/>
<id>d5727fb4b5b8b946983c974bd18ac6616ad7f0d5:reference/flat_set/flat_set/erase_if_free.md</id>
<updated>2026-08-18T11:29:46+09:00</updated>
<summary type="html"><pre><code>diff --git a/reference/flat_set/flat_set/erase_if_free.md b/reference/flat_set/flat_set/erase_if_free.md
index 8e6d7d2e4..9d539daac 100644
--- a/reference/flat_set/flat_set/erase_if_free.md
+++ b/reference/flat_set/flat_set/erase_if_free.md
@@ -32,7 +32,7 @@ namespace std {
## 効果
-メンバ変数として保持しているコンテナ`c`の各要素`e`について、`bool(pred(e))`を`E`として、`E`が`true`であるすべての要素を削除する。
+メンバ変数として保持しているコンテナ`c`の各要素`e`について、`bool(pred(`[`as_const`](/reference/utility/as_const.md)`(e)))`を`E`として、`E`が`true`であるすべての要素を削除する。
## 戻り値
@@ -79,4 +79,6 @@ int main()
## 参照
+- [LWG Issue 3879. `erase_if` for `flat_{,multi}set` is incorrectly specified](https://cplusplus.github.io/LWG/issue3879)
+ - C++23で、`flat_set`/`flat_multiset`は要素の`const`ビューしか提供しないため、述語を`bool(pred(as_const(e)))`として評価するよう効果が修正された
- [P3372R3 constexpr containers and adaptors](https://open-std.org/jtc1/sc22/wg21/docs/papers/2025/p3372r3.html)
</code></pre></summary>
<author>
<name>Akira Takahashi</name>
<email>faithandbrave@gmail.com</email>
</author>
</entry>
<entry>
<title>コンストラクタ -- Merge pull request #1735 from cpprefjp/cpp23_lib_issues2</title>
<link href="https://cpprefjp.github.io/reference/flat_set/flat_set/op_constructor.html"/>
<id>d5727fb4b5b8b946983c974bd18ac6616ad7f0d5:reference/flat_set/flat_set/op_constructor.md</id>
<updated>2026-08-18T11:29:46+09:00</updated>
<summary type="html"><pre><code>diff --git a/reference/flat_set/flat_set/op_constructor.md b/reference/flat_set/flat_set/op_constructor.md
index 8560dda65..934348734 100644
--- a/reference/flat_set/flat_set/op_constructor.md
+++ b/reference/flat_set/flat_set/op_constructor.md
@@ -433,6 +433,8 @@ int main()
## 参照
+- [LWG Issue 3803. `flat_foo` constructors taking `KeyContainer` lack `KeyCompare` parameter](https://cplusplus.github.io/LWG/issue3803)
+ - C++23で、コンテナを取るコンストラクタに比較子`key_compare`を明示指定できる引数が追加された
- [LWG Issue 3884. `flat_foo` is missing allocator-extended copy/move constructors](https://cplusplus.github.io/LWG/issue3884)
- C++26で、`flat_set`にアロケータを指定するコピーコンストラクタ(5)とムーブコンストラクタ(6)が追加された
- [P3372R3 constexpr containers and adaptors](https://open-std.org/jtc1/sc22/wg21/docs/papers/2025/p3372r3.html)
</code></pre></summary>
<author>
<name>Akira Takahashi</name>
<email>faithandbrave@gmail.com</email>
</author>
</entry>
<entry>
<title>推論補助 -- Merge pull request #1735 from cpprefjp/cpp23_lib_issues2</title>
<link href="https://cpprefjp.github.io/reference/flat_set/flat_set/op_deduction_guide.html"/>
<id>d5727fb4b5b8b946983c974bd18ac6616ad7f0d5:reference/flat_set/flat_set/op_deduction_guide.md</id>
<updated>2026-08-18T11:29:46+09:00</updated>
<summary type="html"><pre><code>diff --git a/reference/flat_set/flat_set/op_deduction_guide.md b/reference/flat_set/flat_set/op_deduction_guide.md
index 7fb1f6e32..98dac2d6f 100644
--- a/reference/flat_set/flat_set/op_deduction_guide.md
+++ b/reference/flat_set/flat_set/op_deduction_guide.md
@@ -104,3 +104,8 @@ namespace std {
- [Clang](/implementation.md#clang): ??
- [GCC](/implementation.md#gcc): ??
- [Visual C++](/implementation.md#visual_cpp): ??
+
+
+## 参照
+- [LWG Issue 3786. Flat maps&#39; deduction guide needs to default `Allocator` to be useful](https://cplusplus.github.io/LWG/issue3786)
+ - C++23で、`from_range_t`を取る推論補助で`Allocator`テンプレート引数がデフォルト化され、非デフォルトのアロケータのために推論補助が使えなかった問題が修正された。あわせて`(from_range_t, R&amp;&amp;, Allocator)`の推論補助が追加された
</code></pre></summary>
<author>
<name>Akira Takahashi</name>
<email>faithandbrave@gmail.com</email>
</author>
</entry>
<entry>
<title>コンストラクタ -- Merge pull request #1735 from cpprefjp/cpp23_lib_issues2</title>
<link href="https://cpprefjp.github.io/reference/format/basic_format_arg/op_constructor.html"/>
<id>d5727fb4b5b8b946983c974bd18ac6616ad7f0d5:reference/format/basic_format_arg/op_constructor.md</id>
<updated>2026-08-18T11:29:46+09:00</updated>
<summary type="html"><pre><code>diff --git a/reference/format/basic_format_arg/op_constructor.md b/reference/format/basic_format_arg/op_constructor.md
index d4b02745c..dba7e2845 100644
--- a/reference/format/basic_format_arg/op_constructor.md
+++ b/reference/format/basic_format_arg/op_constructor.md
@@ -91,5 +91,7 @@ namespace std {
## 参照
- [P0645R10 Text Formatting](http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2019/p0645r10.html)
+- [LWG Issue 3631. `basic_format_arg(T&amp;&amp;)` should use `remove_cvref_t&lt;T&gt;` throughout](https://cplusplus.github.io/LWG/issue3631)
+ - C++23で、コンストラクタが検査する型プロパティをcvref除去後の型で判定するよう整理された(最終的にコンストラクタは左辺値参照`T&amp;`をとり、`TD = remove_const_t&lt;T&gt;`で判定する形になった)
- [P3391R2 `constexpr std::format`](https://open-std.org/jtc1/sc22/wg21/docs/papers/2025/p3391r2.html)
- C++26から`constexpr`に対応した
</code></pre></summary>
<author>
<name>Akira Takahashi</name>
<email>faithandbrave@gmail.com</email>
</author>
</entry>
<entry>
<title>basic_format_args -- Merge pull request #1735 from cpprefjp/cpp23_lib_issues2</title>
<link href="https://cpprefjp.github.io/reference/format/basic_format_args.html"/>
<id>d5727fb4b5b8b946983c974bd18ac6616ad7f0d5:reference/format/basic_format_args.md</id>
<updated>2026-08-18T11:29:46+09:00</updated>
<summary type="html"><pre><code>diff --git a/reference/format/basic_format_args.md b/reference/format/basic_format_args.md
index 215d348c8..c3fb547a0 100644
--- a/reference/format/basic_format_args.md
+++ b/reference/format/basic_format_args.md
@@ -32,6 +32,12 @@ namespace std {
| [`(constructor)`](basic_format_args/op_constructor.md) | コンストラクタ | C++20 |
| [`get`](basic_format_args/get.md) | フォーマット引数へアクセスする | C++20 |
+## 推論補助
+
+| 名前 | 説明 | 対応バージョン |
+|--------------------------------------------------------------------|------------------------------------|-------|
+| [`(deduction_guide)`](basic_format_args/op_deduction_guide.md) | クラステンプレートの推論補助 | C++23 |
+
## バージョン
### 言語
- C++20
</code></pre></summary>
<author>
<name>Akira Takahashi</name>
<email>faithandbrave@gmail.com</email>
</author>
</entry>
<entry>
<title>推論補助 -- Merge pull request #1735 from cpprefjp/cpp23_lib_issues2</title>
<link href="https://cpprefjp.github.io/reference/format/basic_format_args/op_deduction_guide.html"/>
<id>d5727fb4b5b8b946983c974bd18ac6616ad7f0d5:reference/format/basic_format_args/op_deduction_guide.md</id>
<updated>2026-08-18T11:29:46+09:00</updated>
<summary type="html"><pre><code>diff --git a/reference/format/basic_format_args/op_deduction_guide.md b/reference/format/basic_format_args/op_deduction_guide.md
new file mode 100644
index 000000000..c4902d728
--- /dev/null
+++ b/reference/format/basic_format_args/op_deduction_guide.md
@@ -0,0 +1,63 @@
+# 推論補助
+* format[meta header]
+* std[meta namespace]
+* basic_format_args[meta class]
+* cpp23[meta cpp]
+
+```cpp
+namespace std {
+ template &lt;class Context, class... Args&gt;
+ basic_format_args(format_arg_store&lt;Context, Args...&gt;)
+ -&gt; basic_format_args&lt;Context&gt;; // (1) C++23
+}
+```
+* format_arg_store[italic]
+
+## 概要
+[`basic_format_args`](../basic_format_args.md)クラステンプレートの型推論補助。
+
+- (1) : [`make_format_args`](../make_format_args.md)の戻り値(_`format_arg_store`_)から、テンプレートパラメータ`Context`を推論する。
+
+ただし、 _`format_arg_store`_ は`make_format_args`の戻り値と同じ型であることを示す便宜上の名前であり、規格には含まれない。
+
+
+## 備考
+この推論補助はC++23に対する欠陥報告 (LWG 3810) として追加されたものであり、コンパイラは早期に対応している場合がある。そのため、C++20モードでも使用できる可能性がある。
+
+
+## 例
+```cpp example
+#include &lt;format&gt;
+
+int main()
+{
+ // make_format_argsの戻り値から、basic_format_args&lt;format_context&gt;を推論する
+ std::basic_format_args args = std::make_format_args();
+ (void)args;
+}
+```
+* std::make_format_args[link ../make_format_args.md]
+
+### 出力
+```
+```
+
+
+## バージョン
+### 言語
+- C++23
+
+### 処理系
+- [Clang](/implementation.md#clang): 17 [mark verified]
+- [GCC](/implementation.md#gcc): 13.1 [mark verified]
+- [Visual C++](/implementation.md#visual_cpp): 2022 [mark verified]
+
+
+## 関連項目
+- [`basic_format_args`](../basic_format_args.md)
+- [`make_format_args`](../make_format_args.md)
+
+
+## 参照
+- [LWG Issue 3810. CTAD for `std::basic_format_args`](https://cplusplus.github.io/LWG/issue3810)
+ - C++23で、[`make_format_args`](../make_format_args.md)の戻り値から`Context`を推論するための推論補助が追加された
</code></pre></summary>
<author>
<name>Akira Takahashi</name>
<email>faithandbrave@gmail.com</email>
</author>
</entry>
<entry>
<title>formatter -- Merge pull request #1735 from cpprefjp/cpp23_lib_issues2</title>
<link href="https://cpprefjp.github.io/reference/format/formatter.html"/>
<id>d5727fb4b5b8b946983c974bd18ac6616ad7f0d5:reference/format/formatter.md</id>
<updated>2026-08-18T11:29:46+09:00</updated>
<summary type="html"><pre><code>diff --git a/reference/format/formatter.md b/reference/format/formatter.md
index c4175abb5..946536160 100644
--- a/reference/format/formatter.md
+++ b/reference/format/formatter.md
@@ -48,7 +48,7 @@ namespace std {
- `template&lt;&gt; struct formatter&lt;char, wchar_t&gt;`
- `template&lt;&gt; struct formatter&lt;charT*, charT&gt;`
- `template&lt;&gt; struct formatter&lt;const charT*, charT&gt;`
-- `template&lt;size_t N&gt; struct formatter&lt;const charT[N], charT&gt;`
+- `template&lt;size_t N&gt; struct formatter&lt;charT[N], charT&gt;`
- `template&lt;class traits, class Allocator&gt; struct formatter&lt;`[`basic_string`](/reference/string/basic_string.md)`&lt;charT, traits, Allocator&gt;, charT&gt;`
- `template&lt;class traits&gt; struct formatter&lt;`[`basic_string_view`](/reference/string_view/basic_string_view.md)`&lt;charT, traits&gt;, charT&gt;`
- 第1テンプレート引数が`nullptr_t`, `void*`, `const void*`, `bool`, すべてのCV修飾されない標準の整数型, 拡張整数型, 浮動小数点数型であり、第2テンプレート引数が`charT`であるもの。
@@ -284,5 +284,7 @@ int main()
- [P2286R8 Formatting Ranges](https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2022/p2286r8.html)
- [P2585R1 Improve default container formatting](https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2022/p2585r1.html)
- C++23から、Range・コンテナ、`pair`、`tuple`のフォーマット出力、および文字・文字列のデバッグ指定 (`&#34;?&#34;`) が追加された
+- [LWG Issue 3833. Remove specialization `template&lt;size_t N&gt; struct formatter&lt;const charT[N], charT&gt;`](https://cplusplus.github.io/LWG/issue3833)
+ - C++23で、`formatter`がCV修飾のないオブジェクト型に対してのみ特殊化される設計と矛盾するため、`formatter&lt;const charT[N], charT&gt;`の特殊化が有効な標準特殊化の一覧から削除された
- [LWG Issue 3944. Formatters converting sequences of `char` to sequences of `wchar_t`](https://cplusplus.github.io/LWG/issue3944)
- C++26で、`char`のシーケンスを`wchar_t`としてフォーマットする特殊化が、暗黙のマルチバイト/ワイド文字変換を避けるため明示的に無効化された
</code></pre></summary>
<author>
<name>Akira Takahashi</name>
<email>faithandbrave@gmail.com</email>
</author>
</entry>
<entry>
<title>common_type -- Merge pull request #1735 from cpprefjp/cpp23_lib_issues2</title>
<link href="https://cpprefjp.github.io/reference/iterator/basic_const_iterator/common_type.html"/>
<id>d5727fb4b5b8b946983c974bd18ac6616ad7f0d5:reference/iterator/basic_const_iterator/common_type.md</id>
<updated>2026-08-18T11:29:46+09:00</updated>
<summary type="html"><pre><code>diff --git a/reference/iterator/basic_const_iterator/common_type.md b/reference/iterator/basic_const_iterator/common_type.md
index 133aa1f18..fc6ae13c6 100644
--- a/reference/iterator/basic_const_iterator/common_type.md
+++ b/reference/iterator/basic_const_iterator/common_type.md
@@ -80,3 +80,5 @@ int main() {
## 参照
- [P2278R4 `cbegin` should always return a constant iterator](https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2022/p2278r4.html)
+- [LWG Issue 3862. `basic_const_iterator`&#39;s `common_type` specialization is underconstrained](https://cplusplus.github.io/LWG/issue3862)
+ - C++23で、3つの`common_type`特殊化に`common_type_t&lt;T, U&gt;`が`input_iterator`であることの制約が追加された
</code></pre></summary>
<author>
<name>Akira Takahashi</name>
<email>faithandbrave@gmail.com</email>
</author>
</entry>
<entry>
<title>iter_move (非メンバ関数) -- Merge pull request #1735 from cpprefjp/cpp23_lib_issues2</title>
<link href="https://cpprefjp.github.io/reference/iterator/basic_const_iterator/iter_move.html"/>
<id>d5727fb4b5b8b946983c974bd18ac6616ad7f0d5:reference/iterator/basic_const_iterator/iter_move.md</id>
<updated>2026-08-18T11:29:46+09:00</updated>
<summary type="html"><pre><code>diff --git a/reference/iterator/basic_const_iterator/iter_move.md b/reference/iterator/basic_const_iterator/iter_move.md
index 30602aa33..379e0f8f7 100644
--- a/reference/iterator/basic_const_iterator/iter_move.md
+++ b/reference/iterator/basic_const_iterator/iter_move.md
@@ -81,3 +81,5 @@ int main() {
## 参照
- [P2278R4 `cbegin` should always return a constant iterator](https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2022/p2278r4.html)
+- [LWG Issue 3872. `basic_const_iterator` should have custom `iter_move`](https://cplusplus.github.io/LWG/issue3872)
+ - C++23で、`as_const`後に`as_rvalue`を適用しても効かない不整合を解消するため、専用の`iter_move`が追加された
</code></pre></summary>
<author>
<name>Akira Takahashi</name>
<email>faithandbrave@gmail.com</email>
</author>
</entry>
<entry>
<title>mapping -- Merge pull request #1735 from cpprefjp/cpp23_lib_issues2</title>
<link href="https://cpprefjp.github.io/reference/mdspan/layout_left/mapping.html"/>
<id>d5727fb4b5b8b946983c974bd18ac6616ad7f0d5:reference/mdspan/layout_left/mapping.md</id>
<updated>2026-08-18T11:29:46+09:00</updated>
<summary type="html"><pre><code>diff --git a/reference/mdspan/layout_left/mapping.md b/reference/mdspan/layout_left/mapping.md
index eb1e7669a..e0220c71c 100644
--- a/reference/mdspan/layout_left/mapping.md
+++ b/reference/mdspan/layout_left/mapping.md
@@ -136,3 +136,5 @@ int main()
## 参照
- [P0009R18 MDSPAN](https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2022/p0009r18.html)
- [P2630R4 Submdspan](https://open-std.org/jtc1/sc22/wg21/docs/papers/2023/p2630r4.html)
+- [LWG Issue 3876. Default constructor of `std::layout_XX::mapping` misses precondition](https://cplusplus.github.io/LWG/issue3876)
+ - C++23で、`Extents::rank_dynamic() == 0`のとき、多次元インデクス空間`Extents()`のサイズが`Extents::index_type`で表現可能であることの適格要件が追加された
</code></pre></summary>
<author>
<name>Akira Takahashi</name>
<email>faithandbrave@gmail.com</email>
</author>
</entry>
<entry>
<title>mapping -- Merge pull request #1735 from cpprefjp/cpp23_lib_issues2</title>
<link href="https://cpprefjp.github.io/reference/mdspan/layout_right/mapping.html"/>
<id>d5727fb4b5b8b946983c974bd18ac6616ad7f0d5:reference/mdspan/layout_right/mapping.md</id>
<updated>2026-08-18T11:29:46+09:00</updated>
<summary type="html"><pre><code>diff --git a/reference/mdspan/layout_right/mapping.md b/reference/mdspan/layout_right/mapping.md
index e3c563a70..2d7bf4cf1 100644
--- a/reference/mdspan/layout_right/mapping.md
+++ b/reference/mdspan/layout_right/mapping.md
@@ -136,3 +136,5 @@ int main()
## 参照
- [P0009R18 MDSPAN](https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2022/p0009r18.html)
- [P2630R4 Submdspan](https://open-std.org/jtc1/sc22/wg21/docs/papers/2023/p2630r4.html)
+- [LWG Issue 3876. Default constructor of `std::layout_XX::mapping` misses precondition](https://cplusplus.github.io/LWG/issue3876)
+ - C++23で、`Extents::rank_dynamic() == 0`のとき、多次元インデクス空間`Extents()`のサイズが`Extents::index_type`で表現可能であることの適格要件が追加された
</code></pre></summary>
<author>
<name>Akira Takahashi</name>
<email>faithandbrave@gmail.com</email>
</author>