forked from cdervis/cppstat
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathfeatures_cpp20.yaml
More file actions
1776 lines (1616 loc) · 38.7 KB
/
features_cpp20.yaml
File metadata and controls
1776 lines (1616 loc) · 38.7 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: "Default member initializers for bit-fields"
paper: P0683
support:
- GCC 8
- Clang 6
- MSVC 14.25
- Xcode 10
- desc: "`const&`-qualified pointers to members"
paper: P0704
support:
- GCC 8
- Clang 6
- MSVC 14.0
- Xcode 10
- desc: "Allow lambda capture `[=, this]`"
paper: P0409
support:
- GCC 8
- Clang 6
- MSVC 14.22
- Xcode 10
- desc: "`__VA_OPT__`"
paper: [P0306, P1042]
support:
- GCC 8 (partial)
- GCC 10 (partial)
- GCC 12
- Clang 9
- MSVC 14.25
- Xcode 12
hints:
- target: GCC 8
msg: "Designated initializers are supported, except <code>#__VA_OPT__</code> support. <code>__VA_OPT__</code> is supported though."
- target: GCC 10
msg: "No placemarker token handling changes"
- desc: "Designated initializers"
paper: P0329
summary: "Initialize aggregate members by name."
support:
- GCC 4.7 (partial)
- GCC 8
- Clang 3 (partial)
- Clang 10
- MSVC 14.21
- Xcode 12
hints:
- target: GCC 4.7
msg: "As non-standard extension that formed the basis for P0329, missing brace initializers."
- target: Clang 3
msg: "Full C99-compatible superset of P0329, missing brace initializers."
ftm:
- name: __cpp_designated_initializers
value: 201707L
- desc: "Familiar template syntax for generic lambdas (template-able lambdas)"
paper: P0428
summary: "Template syntax for lambda parameters."
support:
- GCC 8
- Clang 9
- MSVC 14.22
- Xcode 11
ftm:
- name: __cpp_generic_lambdas
value: 201707L
- desc: "Initializer list constructors in class template argument deduction"
paper: P0702
support:
- GCC 8
- Clang 6
- MSVC 14.14
- Xcode
- desc: "Concepts"
paper: P0734
summary: "Concepts are predicates that constrain template arguments. They provide clear error messages and enable function overloading based on type properties."
support:
- GCC 5 (partial)
- GCC 10
- Clang 10
- MSVC 14.23
- Xcode 12 (partial)
hints:
- target: GCC 5
msg: "TS-only"
- target: Xcode 12
msg: "The following papers are not implemented: [P2103](https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2020/p2103r0.html), DR1496, DR1734 and [P0848](https://wg21.link/P0848)."
ftm:
- name: __cpp_concepts
value: 201907L
- desc: "`std::endian`"
paper: P0463
lib: true
support:
- GCC 8
- Clang 7
- MSVC 14.22
- Xcode 10
ftm:
- name: __cpp_lib_endian
value: 201907L
- desc: "Extending `std::make_shared()` to support arrays"
paper: P0674
lib: true
support:
- GCC 12
- Clang 15
- MSVC 14.27
- Xcode 14.3
ftm:
- name: __cpp_lib_shared_ptr_arrays
value: 201707L
- desc: "init-statements for range-based for"
paper: P0614
summary: "Add initialization to range-based for loops."
support:
- GCC 9
- Clang 8
- MSVC 14.25
- Xcode 11
- desc: "Simplifying implicit lambda capture"
paper: P0588
support: [GCC 8, MSVC 14.24]
- desc: "ADL and function templates that are not visible"
paper: P0846
support:
- GCC 9
- Clang 9
- MSVC 14.21
- Xcode 11.4
- desc: "`const` mismatch with defaulted copy constructor"
paper: P0641
support:
- GCC 9
- Clang 8
- MSVC 14.0
- Xcode 10.2
- desc: "Specify when `constexpr` function definitions are needed for constant evaluation"
paper: P0859
support:
- GCC 5.2 (partial)
- GCC 9
- Clang 8
- MSVC 14.27 (partial)
- MSVC 14.31
- Xcode 11
ftm:
- name: __cpp_constexpr_in_decltype
value: 201711L
- desc: "Three-way comparison operator (`operator<=>`)"
paper: P0515
summary: 'The "spaceship operator" for simplified comparisons.'
content: three-way-comparison.md
support:
- GCC 10
- Clang 8 (partial)
- Clang 10
- MSVC 14.20
- Xcode 12
ftm:
- name: __cpp_impl_three_way_comparison
value: 201907L
- desc: "Library support for `operator<=>` (`<compare>`)"
paper: P0768
lib: true
support:
- GCC 10
- Clang 7 (partial)
- Clang 12 (partial)
- Clang 17
- MSVC 14.20 (partial)
- MSVC 14.28
- Xcode 13
ftm:
- name: __cpp_lib_three_way_comparison
value: 201907L
- desc: "Fixing functionality gaps in constraints"
paper: P0857
support:
- GCC 10
- MSVC 14.23
- Clang 16
- Xcode 12
- desc: "Access checking on specializations"
paper: P0692
support:
- GCC
- Clang 8 (partial)
- Clang 14
- MSVC 14.26
- Xcode 14
- desc: "Default constructible and assignable stateless lambdas"
paper: P0624
support:
- GCC 9
- Clang 8
- MSVC 14.22
- Xcode 10.2
- desc: "Wording for lambdas in unevaluated contexts"
paper: P0315
support:
- GCC 9
- Clang 13 (partial)
- Clang 14 (partial)
- Clang 17
- MSVC 14.28
- Xcode 13.4.1 (partial)
hints:
- target: Clang 13
msg: "Not supported: [temp.deduct/9]"
- target: Clang 14
msg: "temp.over.link changes"
- target: Xcode 13.4.1
msg: "Not supported: [temp.deduct/9]"
- desc: "Transformation trait `std::remove_cvref`"
paper: P0550
lib: true
support:
- GCC 9
- Clang 6
- MSVC 14.20
- Xcode 10
ftm:
- name: __cpp_lib_remove_cvref
value: 201711L
- desc: "`[[nodiscard]]` in the library"
paper: P0600
lib: true
support:
- GCC 9
- Clang 7 (partial)
- Clang 16
- MSVC 14.13 (partial)
- MSVC 14.22
- Xcode 10 (partial)
- Xcode 15
- desc: "Make `std::memory_order` a scoped enumeration (`enum class`)"
paper: P0439
lib: true
support:
- GCC 9
- Clang 9
- MSVC 14.25
- Xcode 11.4
- desc: "C++ Synchronized Buffered Ostream (`std::basic_osyncstream`)"
paper: P0053
lib: true
support:
- GCC 11
- Clang 18
- MSVC 14.29
ftm:
- name: __cpp_lib_syncbuf
value: 201803L
- desc: "Utility to convert a pointer to a raw pointer (`std::to_address()`)"
paper: P0653
lib: true
support:
- GCC 8
- Clang 6
- MSVC 14.22
- Xcode
ftm:
- name: __cpp_lib_to_address
value: 201711L
- desc: "Add `constexpr` modifiers to functions in `<algorithm>` and `<utility>`"
paper: P0202
lib: true
support:
- GCC 10
- Clang 8 (partial)
- Clang 12
- MSVC 14.26
- Xcode 10.2 (partial)
- Xcode 13
ftm:
- name: __cpp_lib_constexpr_algorithms
value: 201806L
- desc: "`constexpr` for `std::complex`"
paper: P0415
lib: true
support:
- GCC 9
- Clang 7 (partial)
- Clang 16
- MSVC 14.27
- Xcode 10 (partial)
- Xcode 15
ftm:
- name: __cpp_lib_constexpr_complex
value: 201711L
- desc: "Atomic `std::shared_ptr` and `std::weak_ptr`"
paper: P0718
lib: true
support: [GCC 12, MSVC 14.27]
ftm:
- name: __cpp_lib_atomic_shared_ptr
value: 201711L
- desc: "Floating Point Atomic"
paper: P0020
lib: true
support:
- GCC 10
- Clang 18
- MSVC 14.22
- Xcode 16
ftm:
- name: __cpp_lib_atomic_float
value: 201711L
- desc: "Using `std::move()` in numeric algorithms"
paper: P0616
lib: true
support:
- GCC 9
- Clang 12
- MSVC 14.23
- Xcode 13
- desc: "String prefix and suffix checking: `std::string` and `std::string_view` `starts_with()` and `ends_with()`"
paper: P0457
lib: true
support:
- GCC 9
- Clang 6
- MSVC 14.21
- Xcode 10
- desc: "Language support for empty objects (`[[no_unique_address]]` attribute)"
paper: P0840
summary: "Allow empty class members to share address with other members."
support:
- GCC 9
- Clang 9
- MSVC 14.28
- Xcode 11.4
- desc: "Relaxing the range-`for` loop customization point finding rules"
paper: P0962
support:
- GCC 8
- Clang 8
- MSVC 14.25
- Xcode 11
- desc: "Allow structured bindings to accessible members"
paper: P0969
support:
- GCC 8
- Clang 8
- MSVC 14.20
- Xcode 10.2
- desc: "Relaxing the structured bindings customization point finding rules"
paper: P0961
support:
- GCC 8
- Clang 8
- MSVC 14.20
- Xcode 10.2
- desc: "Down with `typename`!"
paper: P0634
support:
- GCC 9
- Clang 16
- MSVC 14.29
- Xcode 16
- desc: "Pack-expansions in lambda init-captures"
paper: P0780
summary: "Capture parameter packs in lambda expressions."
support:
- GCC 9
- Clang 9
- MSVC 14.22
- Xcode 11.4
ftm:
- name: __cpp_init_captures
value: 201803L
- desc: "Attributes `[[likely]]` and `[[unlikely]]`"
paper: P0479
summary: "Hint to the compiler about branch probability."
support:
- GCC 9
- Clang 12
- MSVC 14.26
- Xcode 13
- desc: "Symmetry for spaceship"
paper: P0905
lib: true
support:
- GCC 10
- Clang 7
- Xcode 16.3
- MSVC
ftm:
- name: __cpp_impl_three_way_comparison
value: 201711L
- desc: "`<version>`"
paper: P0754
lib: true
support:
- GCC 9
- Clang 7
- MSVC 14.22
- Xcode 10
- desc: "Comparing unordered containers"
paper: P0809
lib: true
support:
- GCC
- Clang
- MSVC 10.0
- Xcode
- desc: "Extending `<chrono>` to calendars and time zones"
paper: P0355
lib: true
support:
- GCC 11 (partial)
- GCC 13 (partial)
- GCC 14
- Clang 7 (partial)
- Clang 19 (partial)
- MSVC 14.29
- Xcode 10 (partial)
ftm:
- name: __cpp_lib_chrono
value: 201907L
- desc: "`std::basic_string::reserve()` should not shrink"
paper: P0966
lib: true
support:
- GCC 11
- Clang 8
- MSVC 14.25
- Xcode 10.2
- desc: "`std::span`"
paper: P0122
lib: true
support:
- GCC 10
- Clang 7
- MSVC 14.26
- Xcode 10
ftm:
- name: __cpp_lib_span
value: 202002L
- desc: "[ConstexprIterator](https://en.cppreference.com/w/cpp/named_req/ConstexprIterator) requirements"
paper: P0858
lib: true
support:
- GCC 9
- Clang 12
- MSVC 14.11
- Xcode 13
ftm:
- name: __cpp_lib_string_view
value: 201803L
- name: __cpp_lib_array_constexpr
value: 201811L
- desc: "Deprecate implicit capture of this via `[=]`"
paper: P0806
support:
- GCC 9
- Clang 7
- MSVC 14.22
- Xcode 10.2
keywords:
- lambda
- desc: "Class types in non-type template parameters"
paper: P0732
support:
- GCC 9
- Clang 12
- MSVC 14.26 (partial)
- MSVC 14.28
- Xcode 13 (partial)
- Xcode 16.3
- desc: "Atomic compare-and-exchange with padding bits"
paper: P0528
lib: true
support: [GCC 13, MSVC 14.28]
- desc: "Destroying operator delete"
paper: P0722
summary: "Custom deallocation with access to the object."
support:
- GCC 9
- Clang 6
- MSVC 14.27
- Xcode 10
ftm:
- name: __cpp_impl_destroying_delete
value: 201806L
- desc: "`std::destroying_delete_t`"
paper: P0722
summary: "Custom deallocation with access to the object."
lib: true
support:
- GCC 9
- Clang 9
- MSVC 14.27
- Xcode 11.4
ftm:
- name: __cpp_lib_destroying_delete
value: 201806L
- desc: "Allowing virtual function calls in constant expressions"
paper: P1064
support:
- GCC 9
- Clang 9
- MSVC 14.28
- Xcode 11.4
ftm:
- name: __cpp_constexpr
value: 201907L
keywords:
- constexpr
- desc: "Prohibit aggregates with user-declared constructors"
paper: P1008
support:
- GCC 9
- Clang 8
- MSVC 14.20
- Xcode 10.2
- desc: "Consistency improvements for comparisons"
paper: P1120
support:
- GCC 10
- Clang 8 (partial)
- Clang 10
- MSVC 14.22
- Xcode 12
- desc: "Integrating feature-test macros"
paper: P0941
support:
- GCC 5
- Clang 3.4
- MSVC 14.15 (partial)
- MSVC 14.20
- Xcode
- desc: "`explicit(bool)`"
paper: P0892
summary: "Conditionally explicit constructors and conversions."
support:
- GCC 9
- Clang 9
- MSVC 14.24
- Xcode 11.4
ftm:
- name: __cpp_conditional_explicit
value: 201806L
- desc: "Guaranteed copy elision for piecewise construction"
paper: P0475
lib: true
support:
- GCC 9
- Clang
- MSVC 14.29
- Xcode
- desc: "`std::bit_cast()`"
paper: P0476
lib: true
support:
- GCC 11
- Clang 14
- MSVC 14.27
- Xcode 14.3
ftm:
- name: __cpp_lib_bit_cast
value: 201806L
- desc: "`contains()` member function of associative containers, e.g. `std::map::contains()`"
paper: P0458
lib: true
support:
- GCC 9
- Clang 13
- MSVC 14.21
- Xcode 13.4.1
- desc: "`constexpr` comparison operators for `std::array`"
paper: P1023
lib: true
support:
- GCC 10
- Clang 8
- MSVC 14.27
- Xcode 10.2
- desc: "Add `std::shift_left()` and `std::shift_right()` to `<algorithm>`"
paper: P0769
lib: true
support:
- GCC 10
- Clang 12
- MSVC 14.21
- Xcode 13
ftm:
- name: __cpp_lib_shift
value: 201806L
- desc: "`std::type_identity`"
paper: P0887
lib: true
support:
- GCC 9
- Clang 8
- MSVC 14.21
- Xcode 10.2
ftm:
- name: __cpp_lib_type_identity
value: 201806L
- desc: "`constexpr` for `std::swap()` and swap related functions"
paper: P0879
lib: true
support:
- GCC 10
- Clang 13
- MSVC 14.26
- Xcode 13.4.1
- desc: "`std::is_convertible`"
paper: P0758
lib: true
support:
- GCC 9
- Clang 9
- MSVC 14.23
- Xcode 11.4
ftm:
- name: __cpp_lib_is_nothrow_convertible
value: 201806L
- desc: "Integral power-of-2 operations: `std::bit_ceil()`, `std::bit_floor()`, `std::bit_width()`, `std::has_single_bit()`"
paper: [P0556, P1956]
lib: true
support:
- GCC 9
- GCC 10
- Clang 9
- Clang 12
- MSVC 14.28
- Xcode 11.4
- Xcode 13
ftm:
- name: __cpp_lib_int_pow2
value: 202002L
- desc: "`std::atomic_ref`"
paper: P0019
lib: true
support:
- GCC 10
- Clang 19
- MSVC 14.28
- Xcode 16.3
ftm:
- name: __cpp_lib_atomic_ref
value: 201806L
- desc: "Improving the return value of erase-like algorithms"
paper: P0646
lib: true
support:
- GCC 9
- Clang 10
- MSVC 14.21
- Xcode 12
ftm:
- name: __cpp_lib_list_remove_return_type
value: 201806L
- desc: "Reviewing deprecated facilities of C++17 for C++20"
paper: P0619
lib: true
support:
- GCC 12
- MSVC 14.26
- Clang 20 (hint)
- Xcode 26
hints:
- target: Clang 20
msg: "Removed headers are still provided as an extension, but with deprecation warnings."
- desc: "Concepts library"
paper: P0898
lib: true
support:
- GCC 10
- Clang 13
- MSVC 14.23
- Xcode 13.4.1
ftm:
- name: __cpp_lib_concepts
value: 202002L
- desc: "`constexpr` try-catch blocks"
paper: P1002
support:
- GCC 9
- Clang 8
- MSVC 14.25
- Xcode 10.2
- desc: "`dynamic_cast` and polymorphic `typeid` in constant expressions"
paper: P1327
support:
- GCC 10
- Clang 9
- MSVC 14.28
- Xcode 11.4
- desc: "Signed integers are two's complement"
paper: P1236
summary: "Signed integers are guaranteed to use two's complement representation."
support:
- GCC 9
- Clang 9
- MSVC
- Xcode 11.4
- desc: "`char8_t`: A type for UTF-8 characters and strings"
paper: P0482
summary: "A distinct type for UTF-8 encoded characters and strings."
support:
- GCC 9
- Clang 7
- MSVC 14.22
- Xcode 10
ftm:
- name: __cpp_char8_t
value: 201811L
- desc: "Library support for `char8_t`"
paper: P0482
summary: "A distinct type for UTF-8 encoded characters and strings."
lib: true
support:
- GCC 9
- Clang 8 (partial)
- Clang 16
- MSVC 14.22
- Xcode 10.2 (partial)
- Xcode 15
ftm:
- name: __cpp_lib_char8_t
value: 201907L
- desc: "Missing feature test macros"
paper: P1353R0
support:
- GCC 9
- Clang 9
- MSVC 14.29
- Xcode
- desc: "Immediate functions (`consteval`)"
paper: P1073
summary: "Functions that must be evaluated at compile time."
support:
- GCC 10 (partial)
- GCC 11
- Clang 11 (partial)
- Clang 14 (partial)
- Clang 17
- MSVC 14.28 (partial)
- MSVC 14.29
- Xcode 15
ftm:
- name: __cpp_consteval
value: 201811L
- desc: "`std::is_constant_evaluated()`"
paper: P0595
summary: "Detect if code is running at compile time or runtime."
lib: true
support:
- GCC 9
- Clang 9
- MSVC 14.25
- Xcode 11.4
ftm:
- name: __cpp_lib_is_constant_evaluated
value: 201811L
- desc: "Yet another approach for constrained declarations"
paper: P1141
support:
- GCC 10
- Clang 10
- MSVC 14.26 (partial)
- MSVC 14.28
- Xcode 12.5
- desc: "Nested inline namespaces"
paper: P1094
support:
- GCC 9
- Clang 8
- MSVC 14.27
- Xcode 10.2
- desc: "Changing the active member of a `union` inside `constexpr`"
paper: P1330
support:
- GCC 9
- Clang 9
- MSVC 14.10
- Xcode 10.3
ftm:
- name: __cpp_constexpr
value: 202002L
- desc: "Fixing `operator>>(basic_istream&, CharT*)`"
paper: P0487
lib: true
support:
- GCC 11
- Clang 8
- MSVC 14.23
- Xcode 10.2
- desc: "`std::variant` and `std::optional` should propagate copy/move triviality"
paper: P0602
lib: true
support:
- GCC 8.3
- Clang 8
- MSVC 14.11
- Xcode 10.2
- desc: "`<chrono>` `zero()`, `min()` and `max()` should be `noexcept`"
paper: P0972
lib: true
support:
- GCC 9
- Clang 8
- MSVC 14.14
- Xcode 10.2
- desc: "`constexpr` in `std::pointer_traits`"
paper: P1006
lib: true
support:
- GCC 9
- Clang 8
- MSVC 14.26
- Xcode 10.2
ftm:
- name: __cpp_lib_constexpr_memory
value: 201811L
- desc: "Misc `constexpr` bits"
paper: P1032
lib: true
support:
- GCC 10
- Clang 13
- MSVC 14.28
- Xcode 13.4.1
ftm:
- name: __cpp_lib_array_constexpr
value: 201811L
- name: __cpp_lib_constexpr_functional
value: 201907L
- name: __cpp_lib_constexpr_iterator
value: 201811L
- name: __cpp_lib_constexpr_tuple
value: 201811L
- name: __cpp_lib_constexpr_utility
value: 201811L
- name: __cpp_lib_constexpr_string_view
value: 201811L
- desc: "`std::unwrap_ref_decay` and `std::unwrap_reference`"
paper: P0318
lib: true
support:
- GCC 9
- Clang 8
- MSVC 14.21
- Xcode 10.2
ftm:
- name: __cpp_lib_unwrap_ref
value: 201811L
- desc: "`std::reference_wrapper` for incomplete types"
paper: P0357
lib: true
support:
- GCC 9
- Clang 8
- MSVC 14.26
- Xcode 10.2
- desc: "A sane `std::variant` converting constructor"
paper: P0608
lib: true
support:
- GCC 10
- Clang 9
- MSVC 14.29
- MSVC 14.42
- Xcode 11.4
- desc: "`std::function`'s move constructor should be `noexcept`"
paper: P0771
lib: true
support:
- GCC 7.2
- Clang 6
- MSVC 14.22
- Xcode
- desc: "`std::assume_aligned()`"
paper: P1007
lib: true
support:
- GCC 9
- GCC 11
- Clang 15
- MSVC 14.28
- Xcode 14.3
ftm:
- name: __cpp_lib_assume_aligned
value: 201811L
- desc: "Smart pointer creation with default initialization (e.g. `std::make_unique_for_overwrite()`)"
paper: [P1020, P1973]
lib: true
support:
- GCC 11
- GCC 12
- Clang 16
- MSVC 14.28
- Xcode 15
ftm:
- name: __cpp_lib_smart_ptr_for_overwrite
value: 202002L
- desc: "Utility functions to implement uses-allocator construction"
paper: P0591
lib: true
support:
- GCC 9
- Clang 16
- MSVC 14.29
- Xcode 15