summaryrefslogtreecommitdiff
path: root/libstdc++-v3/doc/xml/manual/status_cxx2017.xml
blob: 168933808ebe29b596817916c0212ab69ce4c9ac (plain)
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
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
<section xmlns="http://docbook.org/ns/docbook" version="5.0" 
	 xml:id="status.iso.2017" xreflabel="Status C++ 2017">
<?dbhtml filename="status_iso_cxx2017.html"?>

<info><title>C++ 2017</title>
  <keywordset>
    <keyword>ISO C++</keyword>
    <keyword>2017</keyword>
  </keywordset>
</info>

<para>
In this implementation the <literal>-std=gnu++17</literal> or
<literal>-std=c++17</literal> flag must be used to enable language
and library
features. See <link linkend="manual.intro.using.flags">dialect</link>
options. The pre-defined symbol
<constant>__cplusplus</constant> is used to check for the
presence of the required flag.
</para>

<para>
This section describes the C++17 and library TS support in the GCC 7 series.
</para>

<para>
The following table lists new library features that have been accepted into
the C++17 working draft. The "Proposal" column provides a link to the
ISO C++ committee proposal that describes the feature, while the "Status"
column indicates the first version of GCC that contains an implementation of
this feature (if it has been implemented).
The "SD-6 Feature Test" column shows the corresponding macro or header from
<link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="https://isocpp.org/std/standing-documents/sd-6-sg10-feature-test-recommendations">SD-6:
Feature-testing recommendations for C++</link>.
</para>

<table frame="all" xml:id="table.cxx17_status">
<title>C++ 2017 Implementation Status</title>

<tgroup cols="4" align="left" colsep="0" rowsep="1">
<colspec colname="c1"/>
<colspec colname="c2"/>
<colspec colname="c3"/>
<colspec colname="c4"/>
  <thead>
    <row>
      <entry>Library Feature</entry>
      <entry>Proposal</entry>
      <entry>Status</entry>
      <entry>SD-6 Feature Test</entry>
    </row>
  </thead>

  <tbody>

    <row>
      <?dbhtml bgcolor="#C8B0B0" ?>
      <entry>
	<code>constexpr std::hardware_{constructive,destructive}_interference_size</code>
      </entry>
      <entry>
	<link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2016/p0154r1.html">
	P0154R1
	</link>
      </entry>
      <entry align="center"> No </entry>
      <entry> <code>__cpp_lib_hardware_interference_size >= 201603</code> </entry>
    </row>

    <row>
      <entry> Core Issue 1776: Replacement of class objects containing reference members</entry>
      <entry>
	<link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2016/p0137r1.html">
	P0137R1
	</link>
      </entry>
      <entry align="center"> 7.1 </entry>
      <entry> <code>__cpp_lib_launder >= 201606</code> </entry>
    </row>

    <row>
      <entry>Wording for <code>std::uncaught_exceptions</code></entry>
      <entry>
	<link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://www.open-std.org/JTC1/sc22/WG21/docs/papers/2014/n4259.pdf">
	  N4259
	</link>
      </entry>
      <entry align="center">6.1</entry>
      <entry><code>__cpp_lib_uncaught_exceptions >= 201411</code></entry>
    </row>

    <row>
      <entry> Variant: a type-safe union for C++17 </entry>
      <entry>
	<link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2016/p0088r3.html">
	P0088R3
	</link>
      </entry>
      <entry align="center"> 7.1 </entry>
      <entry> <code>__has_include(&lt;variant&gt;)</code>,
              <code>__cpp_lib_variant >= 201603</code>
              (since 7.3, see Note 1)
      </entry>
    </row>

    <row>
      <entry> Library Fundamentals V1 TS Components: <code>optional</code> </entry>
      <entry>
	<link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2016/p0220r1.html">
	P0220R1
	</link>
      </entry>
      <entry align="center"> 7.1 </entry>
      <entry> <code>__has_include(&lt;optional&gt;)</code>,
              <code>__cpp_lib_optional >= 201603</code>
              (since 7.3, see Note 1)
      </entry>
    </row>

    <row>
      <entry> Library Fundamentals V1 TS Components: <code>any</code> </entry>
      <entry>
	<link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2016/p0220r1.html">
	P0220R1
	</link>
      </entry>
      <entry align="center"> 7.1 </entry>
      <entry> <code>__has_include(&lt;any&gt;)</code>,
              <code>__cpp_lib_any >= 201603</code>
              (since 7.3, see Note 1)
      </entry>
    </row>

    <row>
      <entry> Library Fundamentals V1 TS Components: <code>string_view</code> </entry>
      <entry>
	<link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2016/p0220r1.html">
	P0220R1
	</link>
      </entry>
      <entry align="center"> 7.1 </entry>
      <entry> <code>__has_include(&lt;string_view&gt;)</code>,
              <code>__cpp_lib_string_view >= 201603</code>
              (since 7.3, see Note 1)
      </entry>
    </row>

    <row>
      <?dbhtml bgcolor="#C8B0B0" ?>
      <entry> Library Fundamentals V1 TS Components: <code>memory_resource</code> </entry>
      <entry>
	<link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2016/p0220r1.html">
	P0220R1
	</link>
      </entry>
      <entry align="center"> No </entry>
      <entry> <code>__has_include(&lt;memory_resource&gt;)</code>,
              <code>__cpp_lib_memory_resource >= 201603</code>
      </entry>
    </row>

    <row>
      <entry> Library Fundamentals V1 TS Components: <code>apply</code> </entry>
      <entry>
	<link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2016/p0220r1.html">
	P0220R1
	</link>
      </entry>
      <entry align="center"> 7.1 </entry>
      <entry> <code>__cpp_lib_apply >= 201603</code> </entry>
    </row>

    <row>
      <entry> Library Fundamentals V1 TS Components: <code>shared_ptr&lt;T[]&gt;</code> </entry>
      <entry>
	<link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2016/p0220r1.html">
	P0220R1
	</link>
      </entry>
      <entry align="center"> 7.1 </entry>
      <entry> <code>__cpp_lib_shared_ptr_arrays >= 201603</code> </entry>
    </row>

    <row>
      <entry> Library Fundamentals V1 TS Components: Searchers </entry>
      <entry>
	<link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2016/p0220r1.html">
	P0220R1
	</link>
      </entry>
      <entry align="center"> 7.1 </entry>
      <entry> <code>__cpp_lib_boyer_moore_searcher >= 201603</code> </entry>
    </row>

    <row>
      <entry> Library Fundamentals V1 TS Components: Sampling </entry>
      <entry>
	<link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2016/p0220r1.html">
	P0220R1
	</link>
      </entry>
      <entry align="center"> 7.1 </entry>
      <entry> <code>__cpp_lib_sample >= 201603</code> </entry>
    </row>

    <row>
      <entry> Constant View: A proposal for a <code>std::as_const</code> helper function template	</entry>
      <entry>
	<link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="">
	P0007R1
	</link>
      </entry>
      <entry align="center"> 7.1 </entry>
      <entry><code> __cpp_lib_as_const >= 201510 </code></entry>
    </row>

    <row>
      <entry> Improving pair and tuple </entry>
      <entry>
	<link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2015/n4387">
	N4387
	</link>
      </entry>
      <entry align="center"> 6.1 </entry>
      <entry> N/A </entry>
    </row>

    <row>
      <entry> <code>make_from_tuple</code>: apply for construction </entry>
      <entry>
	<link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2016/p0209r2.pdf">
	P0209R2
	</link>
      </entry>
      <entry align="center"> 7.1 </entry>
      <entry><code> __cpp_lib_make_from_tuple >= 201606 </code></entry>
    </row>

    <row>
      <?dbhtml bgcolor="#C8B0B0" ?>
      <entry>
        Removing <code>auto_ptr</code>, <code>random_shuffle()</code>,
        And Old <code>&lt;functional&gt;</code> Stuff
      </entry>
      <entry>
	<link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2014/n4190.htm">
	  N4190
	</link>
      </entry>
      <entry align="center">No (kept for backwards compatibility)</entry>
      <entry/>
    </row>

    <row>
      <?dbhtml bgcolor="#C8B0B0" ?>
      <entry> Deprecating Vestigial Library Parts in C++17 </entry>
      <entry>
	<link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2016/p0174r2.html">
	P0174R2
	</link>
      </entry>
      <entry align="center"> No </entry>
      <entry/>
    </row>

    <row>
      <entry> Making <code>std::owner_less</code> more flexible </entry>
      <entry>
	<link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2015/p0074r0.html">
	P0074R0
	</link>
      </entry>
      <entry align="center"> 7.1 </entry>
      <entry><code> __cpp_lib_transparent_operators >= 201510 </code></entry>
    </row>

    <row>
      <entry> <code>std::addressof</code> should be constexpr </entry>
      <entry>
	<link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2016/p0304r0.html#2296">
	LWG2296
	</link>
      </entry>
      <entry align="center"> 7.1 </entry>
      <entry><code> __cpp_lib_addressof_constexpr >= 201603 </code></entry>
    </row>

    <row>
      <entry> Safe conversions in <code>unique_ptr&lt;T[]&gt;</code> </entry>
      <entry>
	<link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2014/n4089.pdf">
	N4089
	</link>
      </entry>
      <entry align="center"> 6 </entry>
      <entry/>
    </row>

    <row>
      <entry> LWG 2228: Missing SFINAE rule in unique_ptr templated assignment </entry>
      <entry>
	<link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2015/n4366.html">
	  N4366
	</link>
      </entry>
      <entry align="center"> 6 </entry>
      <entry/>
    </row>

    <row>
      <entry> Re-enabling <code>shared_from_this</code></entry>
      <entry>
	<link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2016/p0033r1.html">
	P0033R1
	</link>
      </entry>
      <entry align="center"> 7.1 </entry>
      <entry><code>__cpp_lib_enable_shared_from_this >= 201603</code></entry>
    </row>

    <row>
      <entry> A proposal to add <code>invoke</code> function template </entry>
      <entry>
	<link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2014/n4169.html">
	N4169
	</link>
      </entry>
      <entry align="center"> 6.1 </entry>
      <entry><code> __cpp_lib_invoke >= 201411 </code></entry>
    </row>

    <row>
      <entry>TriviallyCopyable <code>reference_wrapper</code> </entry>
      <entry>
	<link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2014/n4277.html">
	  N4277
	</link>
      </entry>
      <entry align="center"> 5.1 </entry>
      <entry/>
    </row>

    <row>
      <entry> Adopt <code>not_fn</code> from Library Fundamentals 2 for C++17 </entry>
      <entry>
	<link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2016/p0005r4.html">
	P0005R4
	</link>
      </entry>
      <entry align="center"> 7.1 </entry>
      <entry><code>__cpp_lib_not_fn >= 201603</code></entry>
    </row>

    <row>
      <entry> Fixes for <code>not_fn</code> </entry>
      <entry>
	<link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2016/p0358r1.html">
	P0358R1
	</link>
      </entry>
      <entry align="center"> 7.1 </entry>
      <entry/>
    </row>

    <row>
      <entry> Fixing a design mistake in the searchers interface in Library Fundamentals </entry>
      <entry>
	<link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2016/p0253r1.pdf">
	P0253R1
	</link>
      </entry>
      <entry align="center"> 7.1 </entry>
      <entry/>
    </row>

    <row>
      <entry> Extending memory management tools </entry>
      <entry>
	<link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2016/p0040r3.html">
	P0040R3
	</link>
      </entry>
      <entry align="center"> 7.1 </entry>
      <entry><code> </code></entry>
    </row>

    <row>
      <entry> <code>shared_ptr::weak_type</code></entry>
      <entry>
	<link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2015/p0163r0.html">
	P0163R0
	</link>
      </entry>
      <entry align="center"> 7.1 </entry>
      <entry><code> __cpp_lib_shared_ptr_weak_type >= 201606</code></entry>
    </row>

    <row>
      <entry>Transformation Trait Alias <code>void_t</code></entry>
      <entry>
	<link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://www.open-std.org/JTC1/sc22/WG21/docs/papers/2014/n3911.pdf">
	  N3911
	</link>
      </entry>
      <entry align="center">6.1</entry>
      <entry><code> __cpp_lib_void_t >= 201411</code></entry>
    </row>

    <row>
      <entry> Wording for <code>bool_constant</code>, revision 1 </entry>
      <entry>
	<link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2015/n4389.html">
	  N4389
	</link>
      </entry>
      <entry align="center">6.1</entry>
      <entry><code> __cpp_lib_bool_constant >= 201505</code></entry>
    </row>

    <row>
      <entry> Adopt Type Traits Variable Templates from Library Fundamentals TS for C++17</entry>
      <entry>
	<link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2015/p0006r0.html">
	P0006R0
	</link>
      </entry>
      <entry align="center"> 7.1 </entry>
      <entry><code> __cpp_lib_type_trait_variable_templates >= 201510 </code></entry>
    </row>

    <row>
      <entry> Logical Operator Type Traits</entry>
      <entry>
	<link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2015/p0013r1.html">
	P0013R1
	</link>
      </entry>
      <entry align="center"> 6.1 </entry>
      <entry><code> __cpp_lib_logical_traits >= 201510 </code></entry>
    </row>

    <row>
      <entry> Adding [nothrow-]swappable traits </entry>
      <entry>
	<link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2016/p0185r1.html">
	P0185R1
	</link>
      </entry>
      <entry align="center"> 7 (<code>__is_swappable</code> available since 6.1)</entry>
      <entry><code> __cpp_lib_is_swappable >= 201603 </code></entry>
    </row>

    <row>
      <entry> <code>is_callable</code>, the missing INVOKE related trait</entry>
      <entry>
	<link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2016/p0077r2.html">
	P0077R2
	</link>
      </entry>
      <entry align="center"> 7.1 </entry>
      <entry><code> __cpp_lib_is_callable >= 201603 </code></entry>
    </row>

    <row>
      <entry> has_unique_object_representations </entry>
      <entry>
	<link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2016/p0258r2.html">
	P0258R2
	</link>
      </entry>
      <entry align="center"> 7.1 </entry>
      <entry><code> __cpp_lib_has_unique_object_representations >= 201606 </code></entry>
    </row>

    <row>
      <entry> Polishing <code>&lt;chrono&gt;</code> </entry>
      <entry>
	<link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2015/p0092r1.html">
	P0092R1
	</link>
      </entry>
      <entry align="center"> 7.1 </entry>
      <entry><code> __cpp_lib_chrono >= 201510 </code></entry>
    </row>

    <row>
      <entry> Adding more constexpr to <code>&lt;chrono&gt;</code> </entry>
      <entry>
	<link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2016/p0505r0.html">
	P0505R0
	</link>
      </entry>
      <entry align="center"> 7.1 </entry>
      <entry><code> __cpp_lib_chrono >= 201611 </code>
             (since 7.3, see Note 2)
      </entry>
    </row>

    <row>
      <entry> Constexpr for <code>std::char_traits</code> </entry>
      <entry>
	<link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2016/p0426r1.html">
	P0426R1
	</link>
      </entry>
      <entry align="center"> 7.3 </entry>
      <entry><code> __cpp_lib_constexpr_char_traits >= 201611 </code></entry>
    </row>

    <row>
      <entry> Integrating <code>std::string_view</code> and <code>std::string</code> </entry>
      <entry>
	<link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2016/p0254r2.pdf">
	P0254R2
	</link>
      </entry>
      <entry align="center"> 7.1 </entry>
      <entry><code> </code></entry>
    </row>

    <row>
      <entry> Give 'std::string' a non-const '.data()' member function </entry>
      <entry>
	<link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2016/p0272r1.html">
	P0272R1
	</link>
      </entry>
      <entry align="center"> 7.1 </entry>
      <entry><code> </code></entry>
    </row>

    <row>
      <entry>Cleaning-up noexcept in the Library</entry>
      <entry>
	<link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2014/n4258.pdf">
	  N4258
	</link>
      </entry>
      <entry align="center">6.1</entry>
      <entry><code> __cpp_lib_allocator_traits_is_always_equal >= 201411 </code></entry>
    </row>

    <row>
      <entry>Contiguous Iterators </entry>
      <entry>
	<link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2014/n4284.html">
	  N4284
	</link>
      </entry>
      <entry align="center">N/A</entry>
      <entry/>
    </row>

    <row>
      <entry> Minimal incomplete type support for standard containers </entry>
      <entry>
	<link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2015/n4510.html">
	N4510
	</link>
      </entry>
      <entry align="center"> 3.0 </entry>
      <entry><code> __cpp_lib_incomplete_container_elements >= 201505 </code>
	     (since 6.2, see Note 2)
      </entry>
    </row>

    <row>
      <entry> Emplace return type </entry>
      <entry>
	<link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2016/p0084r2.pdf">
	P0084R2
	</link>
      </entry>
      <entry align="center"> 7.1 </entry>
      <entry/>
    </row>

    <row>
      <entry>Improved insertion interface for unique-key maps</entry>
      <entry>
	<link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2014/n4279.html">
	  N4279
	</link>
      </entry>
      <entry align="center"> 6.1 </entry>
      <entry><code> __cpp_lib_map_try_emplace >= 201411</code>,
	     <code> __cpp_lib_unordered_map_try_emplace >= 201411</code>
      </entry>
    </row>

    <row>
      <entry> Splicing Maps and Sets </entry>
      <entry>
	<link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2016/p0083r3.pdf">
	P0083R3
	</link>
      </entry>
      <entry align="center"> 7.1 </entry>
      <entry><code> __cpp_lib_node_extract >= 201606 </code></entry>
    </row>

    <row>
      <entry>Non-member <code>size()</code> and more</entry>
      <entry>
	<link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2014/n4280.pdf">
	  N4280
	</link>
      </entry>
      <entry align="center"> 6.1 </entry>
      <entry><code> __cpp_lib_nonmember_container_access >= 201411 </code></entry>
    </row>

    <row>
      <entry> A Proposal to Add Constexpr Modifiers to <code>reverse_iterator</code>, <code>move_iterator</code>, <code>array</code> and Range Access </entry>
      <entry>
	<link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2015/p0031r0.html">
	P0031R0
	</link>
      </entry>
      <entry align="center"> 7.1 </entry>
      <entry><code> __cpp_lib_array_constexpr >= 201603 </code></entry>
    </row>

    <row>
      <?dbhtml bgcolor="#C8B0B0" ?>
      <entry> The Parallelism TS Should be Standardized	 </entry>
      <entry>
	<link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2016/p0024r2.html">
	P0024R2
	</link>
      </entry>
      <entry align="center"> No </entry>
      <entry><code> __has_include(&lt;execution&gt;) </code>,
	     <code> __cpp_lib_execution >= 201603 </code>,
	     <code> __cpp_lib_parallel_algorithm >= 201603 </code>
      </entry>
    </row>

    <row>
      <entry> An algorithm to "clamp" a value between a pair of boundary values </entry>
      <entry>
	<link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2015/p0025r0.html">
	P0025R0
	</link>
      </entry>
      <entry align="center"> 7.1 </entry>
      <entry><code> __cpp_lib_clamp >= 201603 </code></entry>
    </row>

    <row>
      <entry> Adopt Selected Library Fundamentals V2 Components for C++17 </entry>
      <entry>
	<link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2016/p0295r0.pdf">
	P0295R0
	</link>
      </entry>
      <entry align="center"> 7.1 </entry>
      <entry><code> __cpp_lib_gcd_lcm >= 201606 </code></entry>
    </row>

    <row>
      <entry> Proposal to Introduce a 3-Argument Overload to <code>std::hypot</code> </entry>
      <entry>
	<link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2015/p0030r1.pdf">
	P0030R1
	</link>
      </entry>
      <entry align="center"> 7.1 </entry>
      <entry><code> __cpp_lib_hypot >= 201603 </code></entry>
    </row>

    <row>
      <entry> Mathematical Special Functions for C++17 </entry>
      <entry>
	<link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2016/p0226r1.pdf">
	P0226R1
	</link>
      </entry>
      <entry align="center"> 7.1 </entry>
      <entry><code> __cpp_lib_math_special_functions >= 201603 </code>
	     (see Note 3)
      </entry>
    </row>

    <row>
      <?dbhtml bgcolor="#C8B0B0" ?>
      <entry>Adopt the File System TS for C++17	 </entry>
      <entry>
	<link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2016/p0218r1.html">
	P0218R1
	</link>
      </entry>
      <entry align="center"> No </entry>
      <entry><code> __has_include(&lt;filesystem&gt;) </code>,
	     <code> __cpp_lib_filesystem >= 201603 </code></entry>
    </row>

    <row>
      <?dbhtml bgcolor="#C8B0B0" ?>
      <entry> Relative Paths for Filesystem</entry>
      <entry>
	<link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2016/p0219r1.html">
	P0219R1
	</link>
      </entry>
      <entry align="center"> No </entry>
      <entry><code> __cpp_lib_filesystem >= 201606 </code></entry>
    </row>

    <row>
      <?dbhtml bgcolor="#C8B0B0" ?>
      <entry> Adapting string_view by filesystem paths </entry>
      <entry>
	<link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2016/p0392r0.pdf">
	P0392R0
	</link>
      </entry>
      <entry align="center"> No </entry>
      <entry><code> __cpp_lib_filesystem >= 201606 </code></entry>
    </row>

    <row>
      <?dbhtml bgcolor="#C8B0B0" ?>
      <entry> Directory Entry Caching for Filesystem </entry>
      <entry>
       <link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2016/p0317r1.html">
       P0317R1
       </link>
      </entry>
      <entry align="center"> No </entry>
      <entry><code> __cpp_lib_filesystem >= 201703 </code></entry>
     </row>

    <row>
      <entry> constexpr <code>atomic&lt;T&gt;::is_always_lock_free</code>	 </entry>
      <entry>
	<link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2016/p0152r1.html">
	P0152R1
	</link>
      </entry>
      <entry align="center"> 7.1 </entry>
      <entry><code> __cpp_lib_atomic_is_always_lock_free >= 201603 </code></entry>
    </row>

    <row>
      <entry>A proposal to add <code>shared_mutex</code> (untimed) (Revision 4)</entry>
      <entry>
	<link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2015/n4508.html">
	  N4508
	</link>
      </entry>
      <entry align="center"> 6.1 </entry>
      <entry><code> __cpp_lib_shared_mutex >= 201505 </code></entry>
    </row>

    <row>
      <entry> Variadic <code>lock_guard</code> (Rev. 5) </entry>
      <entry>
	<link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2017/p0156r2.html">
	P0156R2
	</link>
      </entry>
      <entry align="center"> 7.1 </entry>
      <entry><code> __cpp_lib_scoped_lock >= 201703 </code></entry>
    </row>

    <row>
      <entry> A byte type definition </entry>
      <entry>
	<link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2017/p0298r3.pdf">
	P0298R3
	</link>
      </entry>
      <entry align="center"> 7.1 </entry>
      <entry><code> __cpp_lib_byte >= 201603 </code> (since 7.3, see Note 2)
      </entry>
    </row>

    <row>
      <?dbhtml bgcolor="#B0B0B0" ?>
      <entry> Elementary string conversions </entry>
      <entry>
	<link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2016/p0067r5.html">
	P0067R5
	</link>
      </entry>
      <entry align="center"> 8 (only integral types supported) </entry>
      <entry><code> __has_include(&lt;charconv&gt;) </code>
             <code> __cpp_lib_to_chars >= 201611 </code></entry>
    </row>


  </tbody>
</tgroup>
</table>

<para>
Note 1: This feature is supported in GCC 7.1 and 7.2 but before GCC 7.3 the
<code>__cpp_lib</code> macro is not defined, and compilation will fail if the
header is included without using <option>-std</option> to enable C++17 support.
</para>

<para>
Note 2: This feature is supported in older releases but the
<code>__cpp_lib</code> macro is not defined to the right value
(or not defined at all) until the version shown in parentheses.
</para>

<para>
Note 3: The mathematical special functions are enabled in C++17 mode from
GCC 7.1 onwards. For GCC 6.x or for C++11/C++14 define
<code>__STDCPP_WANT_MATH_SPEC_FUNCS__</code> to a non-zero value
and test for <code>__STDCPP_MATH_SPEC_FUNCS__ >= 201003L</code>.
</para>

<table frame="all" xml:id="table.cxx17_ts_status">
<title>C++ Technical Specifications Implementation Status</title>

<tgroup cols="4" align="left" colsep="0" rowsep="1">
<colspec colname="c1"/>
<colspec colname="c2"/>
<colspec colname="c3"/>
<colspec colname="c4"/>
  <thead>
    <row>
      <entry>Paper</entry>
      <entry>Title</entry>
      <entry>Status</entry>
      <entry>Comments</entry>
    </row>
  </thead>

  <tbody>

    <row>
      <entry>
	<link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://www.open-std.org/JTC1/SC22/WG21/docs/papers/2014/n4076.html">
	  N4076
	</link>
      </entry>
      <entry>A generalized callable negator</entry>
      <entry>Y</entry>
      <entry>Library Fundamentals 2 TS</entry>
    </row>

    <row>
      <entry>
	<link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://www.open-std.org/JTC1/SC22/WG21/docs/papers/2014/n4273.htm">
	  N4273
	</link>
      </entry>
      <entry>Uniform Container Erasure</entry>
      <entry>Y</entry>
      <entry>Library Fundamentals 2 TS</entry>
    </row>

    <row>
      <entry>
	<link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2014/n4061.pdf">
	  N4061
	</link>
      </entry>
      <entry>Greatest Common Divisor and Least Common Multiple</entry>
      <entry>Y</entry>
      <entry>Library Fundamentals 2 TS</entry>
    </row>

    <row>
      <entry>
	<link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2014/n4066.htm">
	  N4066
	</link>
      </entry>
      <entry>Delimited iterators</entry>
      <entry>Y</entry>
      <entry>Library Fundamentals 2 TS</entry>
    </row>

    <row>
      <entry>
	<link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2014/n4282.pdf">
	  N4282
	</link>
      </entry>
      <entry>The World's Dumbest Smart Pointer</entry>
      <entry>Y</entry>
      <entry>Library Fundamentals 2 TS</entry>
    </row>


    <row>
      <entry>
	<link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2015/n4388.html">
	  N4388
	</link>
      </entry>
      <entry>Const-Propagating Wrapper</entry>
      <entry>Y</entry>
      <entry>Library Fundamentals 2 TS</entry>
    </row>

    <row>
      <entry>
	<link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2015/n4391.html">
	  N4391
	</link>
      </entry>
      <entry> <code>make_array</code>, revision 4 </entry>
      <entry>Y</entry>
      <entry>Library Fundamentals 2 TS</entry>
    </row>

    <row>
      <entry>
	<link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2015/n4502.pdf">
	  N4502
	</link>
      </entry>
      <entry> Support for the C++ Detection Idiom, V2 </entry>
      <entry>Y</entry>
      <entry>Library Fundamentals 2 TS</entry>
    </row>

    <row>
      <entry>
	<link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2015/n4519.pdf">
	  N4519
	</link>
      </entry>
      <entry> Source-Code Information Capture </entry>
      <entry>Y</entry>
      <entry>Library Fundamentals 2 TS</entry>
    </row>

    <row>
      <?dbhtml bgcolor="#C8B0B0" ?>
      <entry>
	<link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2015/n4521.html">
	  N4521
	</link>
      </entry>
      <entry> Merge Fundamentals V1 into V2 </entry>
      <entry>N</entry>
      <entry>Library Fundamentals 2 TS</entry>
    </row>

    <row>
      <entry>
	<link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://open-std.org/JTC1/SC22/WG21/docs/papers/2015/p0013r1.html">
	  P0013R1
	</link>
      </entry>
      <entry>Logical Operator Type Traits (revision 1)</entry>
      <entry>Y</entry>
      <entry>Library Fundamentals 2 TS</entry>
    </row>


  </tbody>
</tgroup>
</table>

<section xml:id="iso.2017.specific" xreflabel="Implementation Specific"><info><title>Implementation Specific Behavior</title></info>

   <para>For behaviour which is also specified by previous standards,
      see <link linkend="iso.1998.specific">C++ 1998/2003 Implementation
      Specific Behavior</link> and <link linkend="iso.2011.specific">C++
      2011 Implementation Specific Behavior</link>. This section only
      documents behaviour which is new in the 2017 standard.
   </para>

   <para>
      <emphasis>23.6.5 [optional.bad_optional_access]</emphasis>
      <code>what()</code> returns <literal>"bad optional access"</literal>.
   </para>

   <para>
      <emphasis>23.7.3 [variant.variant]</emphasis>
      Whether <classname>variant</classname> supports over-aligned types
      should be documented here.
   </para>

   <para>
      <emphasis>23.7.10 [variant.bad.access]</emphasis>
      <code>what()</code> returns <literal>"Unexpected index"</literal>.
   </para>

   <para>
      <emphasis>23.12.5.2 [memory.resource.pool.options]</emphasis>
      The limits for maximum number of blocks and largest allocation size
      supported by <classname>pool_options</classname> should be documented
      here.
   </para>

   <para>
      <emphasis>23.12.6.1 [memory.resource.monotonic.buffer.ctor]</emphasis>
      The default <code>next_buffer_size</code> and growth factor should
      be documented here.
   </para>

   <para>
      <emphasis>23.15.4.3 [meta.unary.prop]</emphasis>
      The predicate condition for
      <code>has_unique_object_representations</code> is true for all scalar
      types except floating point types.
   </para>

   <para>
      <emphasis>23.19.3 [execpol.type],
      28.4.3 [algorithms.parallel.exec]</emphasis>
      There are no implementation-defined execution policies.
   </para>

   <para>
      <emphasis>24.4.2 [string.view.template]</emphasis>
      <classname>basic_string_view&lt;C, T&gt;::iterator</classname> is
      <code>C*</code> and
      <classname>basic_string_view&lt;C, T&gt;::const_iterator</classname> is
      <code>const C*</code>.
   </para>


   <para>
      <emphasis>28.4.3 [algorithms.parallel.exec]</emphasis>
      Threads of execution created by <classname>std::thread</classname>
      provide concurrent forward progress guarantees, so threads of execution
      implicitly created by the library will provide parallel forward
      progress guarantees.
   </para>

   <para>
      <emphasis>29.4.1 [cfenv.syn]</emphasis>
      The effects of the <filename>&lt;cfenv&gt;</filename> functions
      depends on whether the <code>FENV_ACCESS</code> pragma is supported,
      and on the C library that provides the header.
   </para>

   <para>
      <emphasis>29.6.9 [c.math.rand]</emphasis>
      Whether the <function>rand</function> function may introduce data
      races depends on the target C library that provides the function.
   </para>

   <para>
      <emphasis>29.9.5 [sf.cmath]</emphasis>
      The effect of calling the mathematical special functions with large
      inputs should be documented here.
   </para>

   <para>
      <emphasis>30.10.2.1 [fs.conform.9945]</emphasis>
      The behavior of the filesystem library implementation will depend on
      the target operating system. Some features will not be not supported
      on some targets.
   </para>

   <para>
      <emphasis>30.10.5 [fs.filesystem.syn]</emphasis>
      The clock used for file times is
      <classname>std::chrono::system_clock</classname>.
   </para>

   <para>
      <emphasis>30.10.7.1 [fs.path.generic]</emphasis>
      dot-dot in the root-directory refers to the root-directory itself.
   </para>


</section>

</section>