forked from cdervis/cppstat
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathfeatures_cpp23.yaml
More file actions
1633 lines (1485 loc) · 37.3 KB
/
features_cpp23.yaml
File metadata and controls
1633 lines (1485 loc) · 37.3 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
---
features:
- desc: "Literal suffix for (signed) `size_t` (`uz/t`)"
paper: P0330
summary: "New literal suffixes `uz` (unsigned) and `z` (signed) for size types."
support:
- GCC 11
- Clang 13
- MSVC 14.43
- Xcode 13.4.1
ftm:
- name: __cpp_size_t_suffix
value: 202011L
content: literal-suffix-size-t.md
- desc: "`std::basic_string::contains()` and `std::basic_string_view::contains()`"
paper: P1679
lib: true
support:
- GCC 11
- Clang 12
- MSVC 14.30
- Xcode 13
ftm:
- name: __cpp_lib_string_contains
value: 202011L
- desc: "`<stacktrace>`"
paper: P0881
content: stacktrace.md
lib: true
support:
- GCC 12 (partial)
- GCC 14
- MSVC 14.34
hints:
- target: GCC 12
msg: "Enabled by building GCC with `--enable-libstdcxx-backtrace=yes`, requires linking against `-lstdc++_libbacktrace`"
ftm:
- name: __cpp_lib_stacktrace
value: 202011L
- desc: "`std::is_scoped_enum`"
paper: P1048
lib: true
support:
- GCC 11
- Clang 12
- MSVC 14.30
- Xcode 13
ftm:
- name: __cpp_lib_is_scoped_enum
value: 202011L
- desc: "`<stdatomic.h>`"
paper: P0943
lib: true
support:
- GCC 12
- Clang 15
- MSVC 14.31
- Xcode 14.3
ftm:
- name: __cpp_lib_stdatomic_h
value: 202011L
- desc: "_Down with ()!_ (relax `()` rules for lambdas)"
paper: P1102
summary: "Empty parameter parentheses can be omitted from lambdas with specifiers."
support:
- GCC 11
- Clang 13
- MSVC 14.44
- Xcode 13.4.1
- desc: "Repairing input range adaptors and `std::counted_iterator`"
paper: P2259
lib: true
support:
- GCC 12
- MSVC 14.30 (partial)
- MSVC 14.31
hints:
- target: MSVC 14.30
msg: "The counted_iterator part is implemented; the input range adaptors part is not implemented yet."
- desc: "Relaxing requirements for `chrono::time_point::clock`"
paper: P2212
lib: true
support:
- MSVC
- GCC 11
- Clang 17
- Xcode 16.1
- desc: "`std::visit()` for classes derived from `std::variant`"
paper: P2162
lib: true
support:
- GCC 11.3
- Clang 13
- MSVC 14.20
- MSVC 14.30
- Xcode 16.1
ftm:
- name: __cpp_lib_variant
value: 202102L
- desc: "Conditionally borrowed ranges"
paper: P2017
lib: true
support:
- GCC 11
- Clang 16
- MSVC 14.30
- Xcode 16.1
- desc: "`std::to_underlying()`"
paper: P1682
lib: true
support:
- GCC 11
- Clang 13
- MSVC 14.30
- Xcode 13.4.1
ftm:
- name: __cpp_lib_to_underlying
value: 202102L
- desc: "`if consteval`"
paper: P1938
summary: "Detect at compile time whether code is being constant-evaluated."
content: if-consteval.md
support:
- GCC 12
- Clang 14
- MSVC 14.44
- Xcode 14
ftm:
- name: __cpp_if_consteval
value: 202106L
- desc: "C++ identifier syntax using Unicode Standard Annex 31"
paper: P1949
support:
- GCC 12
- Clang 14
- Xcode 14
- MSVC 14.50
- desc: "Allow duplicate attributes"
paper: P2156
support:
- GCC 11
- Clang 13
- Xcode 13.4.1
- MSVC 14.50
- desc: "Narrowing contextual conversions to `bool` (in `static_assert` and `constexpr if`)"
paper: P1401
support:
- GCC 9
- Clang 13 (partial)
- Clang 14
- MSVC 14.21 (hint)
- MSVC 14.44
- Xcode 14
hints:
- target: Clang 13
msg: "noexcept specifiers changes missing"
- target: MSVC 14.21
msg: "Compiles, but emits a warning: warning C4305: 'if': truncation from 'int' to 'bool'"
- desc: "Trimming whitespaces before line splicing"
paper: P2223
support:
- GCC
- Clang
- Xcode
- MSVC 14.50
- desc: "Make declaration order layout mandated"
paper: P1847
support:
- GCC
- Clang
- MSVC 14.30
- Xcode
- desc: "Remove mixed wide string literal concatenation"
paper: P2201
support:
- GCC
- Clang
- MSVC 14.44
- Xcode
- desc: "`std::out_ptr()` and `std::inout_ptr()`"
paper: P1132
lib: true
support:
- GCC 14
- Clang 19
- MSVC 14.30
- Xcode 16.4
ftm:
- name: __cpp_lib_out_ptr
value: 202106L
- desc: "`constexpr` `std::type_info::operator==()`"
paper: P1328
lib: true
support:
- GCC 12
- Clang 17
- MSVC 14.33
- MSVC 14.34
- Xcode 15
ftm:
- name: __cpp_lib_constexpr_typeinfo
value: 202106L
- desc: "`<spanstream>`: stringstream with `std::span`-based buffer"
paper: P0448
lib: true
support: [GCC 12, MSVC 14.31]
ftm:
- name: __cpp_lib_spanstream
value: 202106L
- desc: "Iterator pair constructors for `std::stack` and `std::queue`"
paper: P1425
lib: true
support:
- GCC 12
- Clang 14
- MSVC 14.31
- Xcode 14.3
ftm:
- name: __cpp_lib_adaptor_iterator_pair_constructor
value: 202106L
- desc: "Non-deduction context for allocators in container deduction guides"
paper: P1518
lib: true
support:
- GCC 12
- Clang 13
- MSVC 14.31
- Xcode 13.4.1
- desc: "Providing size feedback in the Allocator interface"
paper: P0401
lib: true
support:
- Clang 15
- MSVC 14.30
- Xcode 14.3
ftm:
- name: __cpp_lib_allocate_at_least
value: 202302L
- desc: "`ranges::starts_with()` and `ranges::ends_with()`"
paper: P1659
lib: true
support:
- GCC 16
- Clang 17 (partial)
- Clang 19
- MSVC 14.31
- Xcode 16
hints:
- target: Clang 17
msg: "Implements `std::ranges::starts_with()` only."
ftm:
- name: __cpp_lib_ranges_starts_ends_with
value: 202106L
- desc: "Default template arguments for `std::pair`'s forwarding constructor"
paper: P1951
lib: true
support:
- GCC 14
- Clang 14
- MSVC 14.30
- Xcode 14.3
- desc: "Range constructor for `std::basic_string_view`"
paper: P1989
lib: true
support:
- GCC 11
- Clang 14
- MSVC 14.30
- Xcode 14.3
- desc: "`std::invoke_r()`"
paper: P2136
lib: true
support:
- GCC 12
- Clang 17
- MSVC 14.31
- Xcode 15
ftm:
- name: __cpp_lib_invoke_r
value: 202106L
- desc: "Prohibiting `std::basic_string` and `std::basic_string_view` construction from `nullptr`"
paper: P2166
lib: true
support:
- GCC 12
- Clang 13
- MSVC 14.30
- Xcode 13.4.1
- desc: "`constexpr` `std::optional` and `std::variant`"
paper: P2231
lib: true
support:
- GCC 11.3 (partial)
- GCC 12
- Clang 13 (partial)
- Clang 19
- MSVC 14.31
- Xcode 13.4.1 (partial)
- Xcode 16.3
hints:
- target: GCC 11.3
msg: "Only the `std::optional` part is implemented."
- target: Clang 13
msg: "Only the `std::optional` part is implemented."
- target: Xcode 13.4.1
msg: "Only the `std::optional` part is implemented."
ftm:
- name: __cpp_lib_optional
value: 202106L
desc: "`constexpr` `std::optional` is available"
- name: __cpp_lib_variant
value: 202106L
desc: "`constexpr` `std::variant` is available"
- desc: "`std::format()` improvements"
paper: P2216
lib: true
support:
- GCC 13
- Clang 15
- MSVC 14.32
- Xcode 14.3
- desc: "Range adaptor objects bind arguments by value"
paper: P2281
lib: true
support:
- GCC 11
- Clang 14
- MSVC 14.29 (partial)
- MSVC 14.31
- Xcode 14.3
hints:
- target: MSVC 14.29
msg: "The split_view part is missing."
- desc: "`views::join()` should join all views of ranges"
paper: P2328
lib: true
support:
- GCC 11.2
- Clang 15
- MSVC 14.30
- Xcode 14.3
- desc: "Views should not be required to be default-constructible"
paper: P2325
lib: true
support:
- GCC 11.3
- Clang 16
- MSVC 14.30
- Xcode 15
ftm:
- name: __cpp_lib_ranges
value: 202106L
- desc: "Superior string splitting (`views::lazy_split()` and redesigned `views::split()`)"
paper: P2210
lib: true
support:
- GCC 12
- Clang 16
- MSVC 14.31
- Xcode 15
- desc: "Non-literal variables (and labels and gotos) in `constexpr` functions"
paper: P2242
summary: "constexpr functions can contain non-literal variables on non-evaluated paths."
support:
- GCC 12
- Clang 15
- MSVC 14.43
- Xcode 14.3
ftm:
- name: __cpp_constexpr
value: 202110L
- desc: "Explicit object member functions (deducing `this`)"
paper: P0847
summary: 'Member functions can now have an explicit "self" parameter, enabling perfect forwarding and CRTP simplification.'
content: deducing-this.md
support:
- GCC 14
- Clang 18 (partial)
- Clang 19 (partial)
- Clang 20
- MSVC 14.32
- MSVC 14.43
- Xcode 16.3
hints:
- target: Clang 18
msg: "Experimental support. Lacks P2797 and the FTM `__cpp_explicit_this_parameter`. Its support can be tested with `__has_extension(cxx_explicit_this_parameter)`."
- target: Clang 19
msg: "Completes core language support (P2797), but still lacks the FTM `__cpp_explicit_this_parameter`."
ftm:
- name: __cpp_explicit_this_parameter
value: 202110L
- desc: "Consistent character literal encoding"
paper: P2316
support:
- GCC
- Clang
- MSVC 14.30
- Xcode
- desc: "Add support for preprocessing directives `#elifdef` and `#elifndef`"
paper: P2334
summary: "Shorthand preprocessor directives combining `#elif` and `#ifdef`/`#ifndef`."
support:
- GCC 12
- Clang 13
- MSVC 14.40
- Xcode 13.4.1
- desc: "Extend init-statement (of `for` loop) to allow alias-declaration"
paper: P2360
summary: "Range-based for can declare type aliases in the init-statement."
support:
- GCC 12
- Clang 14
- MSVC 14.50 (hint)
- Xcode 14
hints:
- target: MSVC 14.50
msg: "Compiles, but no IntelliSense support yet."
- desc: "Change scope of lambda trailing-return-type"
paper: [P2036, P2579]
support:
- GCC 16
- Clang 17
- Xcode 16.3
- MSVC 14.50
- desc: "Multidimensional subscript operator (`operator[x, y]`)"
paper: P2128
summary: "`operator[]` can now take multiple arguments."
content: multidim-subscript.md
support:
- GCC 12
- Clang 15
- MSVC 14.42
- Xcode 14.3
ftm:
- name: __cpp_multidimensional_subscript
value: 202110L
- desc: "Character encoding of diagnostic text"
paper: P2246
support:
- GCC 16
- Clang
- MSVC 14.30
- Xcode
- desc: "Character sets and encodings"
paper: P2314
support:
- GCC 10
- Clang
- Xcode
- desc: "Fixing locale handling in chrono formatters"
paper: P2372
lib: true
support:
- GCC 13
- Clang 21
- MSVC 14.31
- Xcode 16.1
- desc: "What is a view?"
paper: P2415
lib: true
support:
- GCC 12
- Clang 14
- MSVC 14.31
- Xcode 14.3
- desc: "Add support for `std::generator`-like types to `std::format()`"
paper: P2418
lib: true
support:
- GCC 13
- Clang 15
- MSVC 14.32
- Xcode 14.3
- desc: "Fix `ranges::istream_view`"
paper: P2432
lib: true
support:
- GCC 12
- Clang 16
- MSVC 14.31
- Xcode 15
- desc: "`std::move_only_function`"
paper: P0288
lib: true
support:
- GCC 12
- MSVC 14.32
ftm:
- name: __cpp_lib_move_only_function
value: 202110L
- desc: "Monadic operations for `std::optional` (`and_then()`, `or_else()`, `transform()`)"
paper: P0798
lib: true
support:
- GCC 12
- Clang 14
- MSVC 14.32
- Xcode 14.3
ftm:
- name: __cpp_lib_optional
value: 202110L
- desc: "Decay-copy in the language (`auto(x)` and `auto{x}`)"
paper: P0849
summary: "Create a decayed copy of an expression."
support:
- GCC 12
- Clang 15
- MSVC 14.50
- Xcode 14.3
ftm:
- name: __cpp_auto_cast
value: 202110L
- desc: "`std::basic_string::resize_and_overwrite()`"
paper: P1072
lib: true
support:
- GCC 12
- Clang 14
- MSVC 14.31
- Xcode 14.3
ftm:
- name: __cpp_lib_string_resize_and_overwrite
value: 202110L
- desc: "Printing volatile `T*`"
paper: P1147
lib: true
support:
- GCC 11.3
- Clang 14
- MSVC 14.31
- Xcode 14.3
- desc: "`std::byteswap()`"
paper: P1272
lib: true
support:
- GCC 12
- Clang 14
- MSVC 14.31
- Xcode 14.3
ftm:
- name: __cpp_lib_byteswap
value: 202110L
- desc: "Heterogeneous erasure overloads for associative containers"
paper: P2077
lib: true
support: [MSVC 14.32]
ftm:
- name: __cpp_lib_associative_heterogeneous_erasure
value: 202110L
keywords: ["erase"]
- desc: "Require `std::span` and `std::basic_string_view` to be [TriviallyCopyable](https://en.cppreference.com/w/cpp/named_req/TriviallyCopyable)"
paper: P2251
lib: true
support:
- GCC
- Clang
- MSVC 14.31
- Xcode
- desc: "Add a `pmr` alias for `std::stacktrace`"
paper: P2301
lib: true
support:
- GCC 12 (partial)
- GCC 14
- MSVC 14.34
hints:
- target: GCC 12
msg: "Enabled by building GCC with `--enable-libstdcxx-backtrace=yes`, requires linking against `-lstdc++_libbacktrace`"
ftm:
- name: __cpp_lib_stacktrace
value: 202011L
- desc: "zip: `views::zip()`, `views::zip_transform()`, `views::adjacent()` and `views::adjacent_transform()`"
paper: P2321
lib: true
support:
- GCC 13
- Clang 15 (partial)
- Clang 22
- MSVC 14.37
- Xcode 14.3
hints:
- target: Clang 15
msg: "Only implements tuple specializations and `views::zip()`."
ftm:
- name: __cpp_lib_ranges_zip
value: 202110L
- desc: "Cleaning up integer-class types"
paper: P2393
lib: true
support: [MSVC 14.32]
- desc: "Add a conditional `noexcept` specification to `std::exchange()`"
paper: P2401
lib: true
support:
- GCC 12
- Clang 14
- MSVC 14.31
- Xcode 14.3
- desc: "Attributes on lambdas"
paper: P2173
summary: "Attributes can be applied to lambda expressions."
support:
- GCC 9
- Clang 13
- MSVC 14.44
- Xcode 13.4.1
- desc: "`std::expected` (`<expected>`)"
paper: [P0323, P2549]
content: expected.md
lib: true
support:
- GCC 12
- Clang 16
- MSVC 14.33
- Xcode 15
ftm:
- name: __cpp_lib_expected
value: 202202L
- desc: "`constexpr` for `<cmath>` and `<cstdlib>`"
paper: P0533
lib: true
ftm:
- name: __cpp_lib_constexpr_cmath
value: 202202L
- desc: "`std::unreachable()`"
paper: P0627
lib: true
support:
- GCC 12
- Clang 15
- MSVC 14.32
- Xcode 14.3
ftm:
- name: __cpp_lib_unreachable
value: 202202L
- desc: "Conversions from ranges to containers (`ranges::to()`)"
paper: P1206
content: ranges-to.md
lib: true
support:
- GCC 14 (partial)
- GCC 15
- Clang 17
- MSVC 14.34
- Xcode 15
ftm:
- name: __cpp_lib_containers_ranges
value: 202202L
- name: __cpp_lib_ranges_to_container
value: 202202L
- desc: "Deprecating `std::aligned_storage` and `std::aligned_union`"
paper: P1413
lib: true
support:
- GCC 13
- Clang 16
- MSVC 14.33
- Xcode 16.1
- desc: "`std::reference_constructs_from_temporary` and `std::reference_converts_from_temporary`"
paper: P2255
lib: true
support:
- GCC 13 (partial)
- GCC 14
- Clang 21 (partial)
- MSVC 14.51
- Xcode 16.3
hints:
- target: GCC 13
msg: "Missing changes to `std::tuple`."
- target: Clang 21
msg: "Only type traits are implemented."
ftm:
- name: __cpp_lib_reference_from_temporary
value: 202202L
- desc: "`constexpr` `std::unique_ptr`"
paper: P2273
lib: true
support:
- GCC 12
- Clang 16
- MSVC 14.33
- Xcode 15
ftm:
- name: __cpp_lib_constexpr_memory
value: 202202L
- desc: "Pipe support for user-defined range adaptors (`ranges::range_adaptor_closure` and `std::bind_back()`)"
paper: P2387
lib: true
support:
- GCC 13 (partial)
- GCC 14
- Clang 19
- MSVC 14.34
- Xcode 16.3
ftm:
- name: __cpp_lib_bind_back
value: 202202L
- name: __cpp_lib_ranges
value: 202202L
- desc: "`ranges::iota()`, `ranges::shift_left()` and `ranges::shift_right()`"
paper: P2440
lib: true
support:
- GCC 13 (partial)
- MSVC 14.34
- Clang 21 (partial)
- Clang 22 (partial)
- Clang 23
hints:
- target: GCC 13
msg: "Only `ranges::iota()` is implemented."
- target: Clang 21
msg: "Only `ranges::iota()` is implemented. ([GitHub PR](https://github.com/llvm/llvm-project/pull/68494))"
- target: Clang 22
msg: "In addition to Clang 21, supports `ranges::shift_left()` and defines the `__cpp_lib_shift` FTM."
ftm:
- name: __cpp_lib_ranges_iota
value: 202202L
- name: __cpp_lib_shift
value: 202202L
- desc: "`views::join_with()`"
paper: P2441
lib: true
support:
- GCC 13
- Clang 21
- MSVC 14.34
ftm:
- name: __cpp_lib_ranges_join_with
value: 202202L
- desc: "`views::chunk()` and `views::slide()`"
paper: P2442
lib: true
support: [GCC 13, MSVC 14.33]
ftm:
- name: __cpp_lib_ranges_chunk
value: 202202L
- name: __cpp_lib_ranges_slide
value: 202202L
- desc: "`views::chunk_by()`"
paper: P2443
lib: true
support:
- GCC 13
- Clang 18
- MSVC 14.33
- Xcode 16
ftm:
- name: __cpp_lib_ranges_chunk_by
value: 202202L
- desc: "The equality operator you are looking for"
paper: P2468
support:
- GCC 13
- Clang 16
- Xcode 16
- MSVC 14.36
- desc: "De-deprecating volatile compound operations."
paper: P2327
lib: true
support: [Xcode 15, MSVC 14.34]
- desc: "`#warning`"
paper: P2437
summary: "Standard preprocessor directive to emit compiler warnings."
support:
- GCC 13
- Clang
- MSVC 14.50
- Xcode 15
- desc: "Remove non-encodable wide character literals and multicharacter wide character literals"
paper: P2362
support:
- GCC 13
- Clang 14
- Xcode 15
- desc: "Labels at the end of compound statements"
paper: P2324
summary: "Labels can appear at the end of blocks, without a following statement."
support:
- GCC 13
- Clang 16
- Xcode 16
- desc: "Delimited escape sequences"
paper: P2290
summary: "New `\\x{...}`, `\\o{...}`, and `\\u{...}` syntax for escape sequences."
support:
- GCC 13
- Clang 15
- MSVC 14.50
- Xcode 15
- desc: "Relaxing some `constexpr` restrictions"
paper: P2448
summary: "Fewer requirements for constexpr functions."
support:
- GCC 13
- Clang 19
- Xcode 16.3
ftm:
- name: __cpp_constexpr
value: 202207L
- desc: "Simpler implicit move"
paper: P2266
summary: "Simplified rules for when return statements implicitly move."
support:
- GCC 13
- Clang 13
- Xcode 26
- MSVC 14.50
ftm:
- name: __cpp_implicit_move
value: 202207L
- desc: "Named universal character escapes"
paper: P2071
summary: "Use Unicode character names in string literals."
support:
- GCC 13
- Clang 15
- Xcode 15
ftm:
- name: __cpp_named_character_escapes
value: 202207L
- desc: "`static operator()` (static call operator)"
paper: P1169
summary: "Call operators can now be static."
content: static-call-operator.md
support:
- GCC 13
- Clang 16
- MSVC 14.44
- Xcode 16
ftm:
- name: __cpp_static_call_operator
value: 202207L
- desc: "Deduction guides update for `static operator()`"
paper: P1169
lib: true
support:
- GCC 13
- Clang 16
- MSVC 14.39
- Xcode 15
- desc: "Using unknown pointers and references in constant expressions"
paper: P2280
support:
- GCC 14
- Clang 20
- MSVC 14.50
keywords: ["constexpr"]
- desc: "Requirements for optional extended floating-point types"
paper: P1467
support: [GCC 13, MSVC (hint)]
hints:
- target: MSVC
msg: "Not applicable to MSVC."
- desc: "Standard names and library support for extended floating-point types"
paper: P1467
lib: true
support: [GCC 13, MSVC 14.37]
- desc: "Adjusting the value of feature-test macro `__cpp_concepts`"
paper: P2493
support:
- GCC 12
- Clang 19
- MSVC 14.50
- Xcode 16.4
- desc: "Class template argument deduction from inherited constructors"
paper: P2582
summary: "Class template argument deduction works with inherited constructors."
support: [GCC 14]
- desc: "Attribute `[[assume]]`"
paper: P1774
summary: "Tell the compiler that a condition is always true."
support:
- GCC 13
- Clang 19
- Xcode 16.3
- desc: "Support for UTF-8 as a portable source file encoding"
paper: P2295
support:
- GCC 13
- Clang 15
- MSVC 14.0
- Xcode 15
- desc: "`char8_t` compatibility and portability fix"
paper: P2513
content: char8-t-compatibility.md
support:
- GCC 13
- Clang 16
- MSVC 14.34
- Xcode 16
ftm:
- name: __cpp_char8_t
value: 202207L
- desc: "Relax requirements on `wchar_t` to match existing practices"
paper: P2460
support:
- GCC
- Clang
- MSVC 14.44
- Xcode 15
- desc: "`std::mdspan`: a non-owning multidimensional array reference (`<mdspan>`)"
paper: [P0009, P2599, P2604, P2613, P2763]
content: mdspan.md
lib: true
support: