1 <section xmlns="http://docbook.org/ns/docbook" version="5.0"
2 xml:id="status.iso.2011" xreflabel="Status C++ 2011">
3 <?dbhtml filename="status_iso_cxx2011.html"?>
5 <info><title>C++ 2011</title>
7 <keyword>ISO C++</keyword>
8 <keyword>2011</keyword>
13 <anchor xml:id="status.iso.200x" /> <!-- preserve links to old section ID -->
14 This table is based on the table of contents of ISO/IEC
15 JTC1 SC22 WG21 Doc No: N3290 Date: 2011-04-11
16 Final Draft International Standard, Standard for Programming Language C++
20 In this implementation <literal>-std=gnu++11</literal> or
21 <literal>-std=c++11</literal> flags must be used to enable language
23 features. See <link linkend="manual.intro.using.flags">dialect</link>
24 options. The pre-defined symbol
25 <constant>__cplusplus</constant> is used to check for the
26 presence of the required flag.
30 This page describes the C++11 support in mainline GCC SVN, not in any
34 <!-- Status is Yes or No, Broken/Partial-->
39 <?dbhtml bgcolor="#C8B0B0" ?>
41 <?dbhtml bgcolor="#B0B0B0" ?>
44 <title>C++ 2011 Implementation Status</title>
46 <tgroup cols="4" align="left" colsep="0" rowsep="1">
47 <colspec colname="c1"/>
48 <colspec colname="c2"/>
49 <colspec colname="c3"/>
50 <colspec colname="c4"/>
53 <entry>Section</entry>
54 <entry>Description</entry>
56 <entry>Comments</entry>
64 <emphasis>18</emphasis>
66 <entry namest="c2" nameend="c4" align="left">
67 <emphasis>Language support</emphasis>
73 <entry>General</entry>
78 <?dbhtml bgcolor="#B0B0B0" ?>
81 <entry>Partial</entry>
82 <entry>Missing offsetof, max_align_t</entry>
86 <entry>Implementation properties</entry>
93 <entry>Numeric Limits</entry>
98 <entry>18.3.2.3</entry>
99 <entry>Class template <code>numeric_limits</code></entry>
104 <entry>18.3.2.4</entry>
105 <entry><code>numeric_limits</code> members</entry>
110 <?dbhtml bgcolor="#C8B0B0" ?>
111 <entry>18.3.2.5</entry>
112 <entry><code>float_round_style</code></entry>
117 <?dbhtml bgcolor="#C8B0B0" ?>
118 <entry>18.3.2.6</entry>
119 <entry><code>float_denorm_style</code></entry>
124 <entry>18.3.2.7</entry>
125 <entry><code>numeric_limits</code> specializations</entry>
131 <entry>18.3.3</entry>
132 <entry>C Library</entry>
139 <entry>Integer types</entry>
144 <entry>18.4.1</entry>
145 <entry>Header <code><cstdint></code> synopsis</entry>
150 <?dbhtml bgcolor="#B0B0B0" ?>
152 <entry>Start and termination</entry>
153 <entry>Partial</entry>
154 <entry>C library dependency for quick_exit, at_quick_exit</entry>
157 <?dbhtml bgcolor="#B0B0B0" ?>
159 <entry>Dynamic memory management</entry>
160 <entry>Partial</entry>
161 <entry>Missing <code>get_new_handler</code>.
162 <code>set_new_handler</code> is not thread-safe.
167 <entry>Type identification</entry>
172 <entry>18.7.1</entry>
173 <entry>Class type_info</entry>
178 <entry>18.7.2</entry>
179 <entry>Class bad_cast</entry>
184 <entry>18.7.3</entry>
185 <entry>Class bad_typeid</entry>
191 <entry>Exception handling</entry>
196 <entry>18.8.1</entry>
197 <entry>Class exception</entry>
202 <entry>18.8.2</entry>
203 <entry>Class bad_exception</entry>
208 <?dbhtml bgcolor="#B0B0B0" ?>
209 <entry>18.8.3</entry>
210 <entry>Abnormal termination</entry>
211 <entry>Partial</entry>
212 <entry>Missing <code>get_terminate</code>.
213 <code>set_terminate</code> is not thread-safe.
217 <entry>18.8.4</entry>
218 <entry><code>uncaught_exception</code></entry>
223 <entry>18.8.5</entry>
224 <entry>Exception Propagation</entry>
229 <?dbhtml bgcolor="#B0B0B0" ?>
230 <entry>18.8.6</entry>
231 <entry><code>nested_exception</code></entry>
232 <entry>Partial</entry>
233 <entry>Follows an earlier C++0x draft, not the final specification.
238 <entry>Initializer lists</entry>
243 <entry>18.9.1</entry>
244 <entry>Initializer list constructors</entry>
249 <entry>18.9.2</entry>
250 <entry>Initializer list access</entry>
255 <entry>18.9.3</entry>
256 <entry>Initializer list range access</entry>
262 <entry>Other runtime support</entry>
268 <emphasis>19</emphasis>
270 <entry namest="c2" nameend="c4" align="left">
271 <emphasis>Diagnostics</emphasis>
276 <entry>General</entry>
281 <?dbhtml bgcolor="#B0B0B0" ?>
283 <entry>Exception classes</entry>
284 <entry>Partial</entry>
285 <entry>Missing <code>const char*</code> constructors.</entry>
289 <entry>Assertions</entry>
295 <entry>Error numbers</entry>
301 <entry>System error support</entry>
306 <entry>19.5.1</entry>
307 <entry>Class <code>error_category</code></entry>
312 <entry>19.5.2</entry>
313 <entry>Class <code>error_code</code></entry>
318 <entry>19.5.3</entry>
319 <entry>Class <code>error_condition</code></entry>
324 <entry>19.5.4</entry>
325 <entry>Comparison operators</entry>
330 <?dbhtml bgcolor="#B0B0B0" ?>
331 <entry>19.5.5</entry>
332 <entry>Class <code>system_error</code></entry>
333 <entry>Partial</entry>
334 <entry>Missing <code>const char*</code> constructors.</entry>
338 <emphasis>20</emphasis>
340 <entry namest="c2" nameend="c4" align="left">
341 <emphasis>General utilities</emphasis>
346 <entry>General</entry>
352 <entry>Utility components</entry>
357 <entry>20.2.1</entry>
358 <entry>Operators</entry>
363 <entry>20.2.2</entry>
369 <entry>20.2.3</entry>
370 <entry><code>forward</code> and <code>move</code> helpers</entry>
375 <entry>20.2.4</entry>
376 <entry>Function template <code>declval</code></entry>
387 <entry>20.3.1</entry>
388 <entry>In general</entry>
393 <entry>20.3.2</entry>
394 <entry>Class template <code>pair</code></entry>
399 <entry>20.3.3</entry>
400 <entry>Specialized algorithms</entry>
405 <entry>20.3.4</entry>
406 <entry>Tuple-like access to <code>pair</code></entry>
411 <entry>20.3.5</entry>
412 <entry>Piecewise construction</entry>
418 <entry>Tuples</entry>
423 <entry>20.4.1</entry>
424 <entry>In general</entry>
429 <entry>20.4.2</entry>
430 <entry>Class template <code>tuple</code></entry>
435 <entry>20.4.2.1</entry>
436 <entry>Construction</entry>
441 <entry>20.4.2.2</entry>
442 <entry>Assignment</entry>
447 <entry>20.4.2.3</entry>
453 <entry>20.4.2.4</entry>
454 <entry>Tuple creation functions</entry>
459 <entry>20.4.2.5</entry>
460 <entry>Tuple helper classes</entry>
465 <entry>20.4.2.6</entry>
466 <entry>Element access</entry>
471 <entry>20.4.2.7</entry>
472 <entry>Relational operators</entry>
477 <entry>20.4.2.8</entry>
478 <entry>Tuple traits</entry>
483 <entry>20.4.2.9</entry>
484 <entry>Tuple specialized algorithms</entry>
490 <entry>Class template <code>bitset</code></entry>
495 <entry>20.5.1</entry>
496 <entry><code>bitset</code> constructors</entry>
501 <entry>20.5.2</entry>
502 <entry><code>bitset</code> members</entry>
507 <entry>20.5.3</entry>
508 <entry><code>bitset</code> hash support</entry>
513 <entry>20.5.4</entry>
514 <entry><code>bitset</code> operators</entry>
520 <entry>Memory</entry>
525 <entry>20.6.1</entry>
526 <entry>In general</entry>
531 <entry>20.6.2</entry>
532 <entry>Header <code><memory></code> synopsis</entry>
537 <entry>20.6.3</entry>
538 <entry>Pointer traits</entry>
543 <?dbhtml bgcolor="#B0B0B0" ?>
544 <entry>20.6.4</entry>
545 <entry>Pointer safety</entry>
546 <entry>Partial</entry>
550 <?dbhtml bgcolor="#C8B0B0" ?>
551 <entry>20.6.5</entry>
557 <entry>20.6.6</entry>
558 <entry>Allocator argument tag</entry>
563 <entry>20.6.7</entry>
564 <entry><code>uses_allocator</code></entry>
569 <entry>20.6.8</entry>
570 <entry>Allocator traits</entry>
575 <entry>20.6.9</entry>
576 <entry>The default allocator</entry>
581 <entry>20.6.10</entry>
582 <entry>Raw storage iterator</entry>
587 <entry>20.6.11</entry>
588 <entry>Temporary buffers</entry>
593 <entry>20.6.12</entry>
594 <entry>Specialized algorithms</entry>
599 <entry>20.6.12.1</entry>
600 <entry><code>addressof</code></entry>
605 <entry>20.6.12.2</entry>
606 <entry><code>uninitialized_copy</code></entry>
611 <entry>20.6.12.3</entry>
612 <entry><code>uninitialized_fill</code></entry>
617 <?dbhtml bgcolor="#B0B0B0" ?>
618 <entry>20.6.12.4</entry>
619 <entry><code>uninitialized_fill_n</code></entry>
620 <entry>Partial</entry>
621 <entry>Returns <code>void</code>.</entry>
624 <entry>20.6.13</entry>
625 <entry>C library</entry>
631 <entry>Smart pointers</entry>
636 <entry>20.7.1</entry>
637 <entry>Class template <code>unique_ptr</code></entry>
642 <entry>20.7.2</entry>
643 <entry>Shared-ownership pointers</entry>
648 <entry>20.7.2.1</entry>
649 <entry>Class <code>bad_weak_ptr</code></entry>
654 <entry>20.7.2.2</entry>
655 <entry>Class template <code>shared_ptr</code></entry>
660 <link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://www.boost.org/libs/smart_ptr/shared_ptr.htm">boost::shared_ptr</link>.
665 <entry>20.7.2.3</entry>
666 <entry>Class template <code>weak_ptr</code></entry>
671 <entry>20.7.2.4</entry>
672 <entry>Class template <code>emable_shared_from_this</code></entry>
677 <?dbhtml bgcolor="#B0B0B0" ?>
678 <entry>20.7.2.5</entry>
679 <entry><code>shared_ptr</code> atomic access</entry>
680 <entry>Partial</entry>
684 <entry>20.7.2.6</entry>
685 <entry>Smart pointer hash support</entry>
691 <entry>Function objects</entry>
696 <entry>20.8.1</entry>
697 <entry>Definitions</entry>
702 <entry>20.8.2</entry>
703 <entry>Requirements</entry>
708 <entry>20.8.3</entry>
709 <entry>Class template <code>reference_wrapper</code></entry>
714 <entry>20.8.4</entry>
715 <entry>Arithmetic operation</entry>
720 <entry>20.8.5</entry>
721 <entry>Comparisons</entry>
726 <entry>20.8.6</entry>
727 <entry>Logical operations</entry>
732 <entry>20.8.7</entry>
733 <entry>Bitwise operations</entry>
738 <entry>20.8.8</entry>
739 <entry>Negators</entry>
744 <entry>20.8.9</entry>
745 <entry>Function template <code>bind</code></entry>
750 <entry>20.8.10</entry>
751 <entry>Function template <code>mem_fn</code></entry>
756 <entry>20.8.11</entry>
757 <entry>Polymorphic function wrappers</entry>
762 <entry>20.8.11.1</entry>
763 <entry>Class <code>bad_function_call</code></entry>
768 <?dbhtml bgcolor="#B0B0B0" ?>
769 <entry>20.8.11.2</entry>
770 <entry>Class template <code>function</code></entry>
771 <entry>Partial</entry>
772 <entry>Missing allocator support</entry>
775 <entry>20.8.12</entry>
776 <entry>Class template <code>hash</code></entry>
782 <entry>Metaprogramming and type traits</entry>
787 <entry>20.9.1</entry>
788 <entry>Requirements</entry>
793 <entry>20.9.2</entry>
794 <entry>Header <code><type_traits></code> synopsis</entry>
799 <entry>20.9.3</entry>
800 <entry>Helper classes</entry>
805 <entry>20.9.4</entry>
806 <entry>Unary Type Traits</entry>
811 <entry>20.9.4.1</entry>
812 <entry>Primary type categories</entry>
817 <entry>20.9.4.2</entry>
818 <entry>Composite type traits</entry>
823 <?dbhtml bgcolor="#B0B0B0" ?>
824 <entry>20.9.4.3</entry>
825 <entry>Type properties</entry>
826 <entry>Partial</entry>
827 <entry>Missing is_trivially_copyable,
828 is_trivially_constructible, is_trivially_default_constructible,
829 is_trivially_copy_constructible, is_trivially_move_constructible,
830 is_trivially_assignable, is_trivially_default_assignable,
831 is_trivially_copy_assignable, is_trivially_move_assignable
835 <entry>20.9.5</entry>
836 <entry>Type property queries</entry>
841 <entry>20.9.6</entry>
842 <entry>Relationships between types</entry>
847 <entry>20.9.7</entry>
848 <entry>Transformations between types</entry>
853 <entry>20.9.7.1</entry>
854 <entry>Const-volatile modifications</entry>
859 <entry>20.9.7.2</entry>
860 <entry>Reference modifications</entry>
865 <entry>20.9.7.3</entry>
866 <entry>Sign modifications</entry>
871 <entry>20.9.7.4</entry>
872 <entry>Array modifications</entry>
877 <entry>20.9.7.5</entry>
878 <entry>Pointer modifications</entry>
883 <?dbhtml bgcolor="#B0B0B0" ?>
884 <entry>20.9.7.6</entry>
885 <entry>Other transformations</entry>
886 <entry>Partial</entry>
887 <entry>Missing <code>aligned_union</code>.</entry>
891 <entry>Compile-time rational arithmetic</entry>
896 <entry>20.10.1</entry>
897 <entry>In general</entry>
902 <entry>20.10.2</entry>
903 <entry>Header <code><ratio></code> synopsis</entry>
908 <entry>20.10.3</entry>
909 <entry>Class template <code>ratio</code></entry>
914 <entry>20.10.4</entry>
915 <entry>Arithmetic on <code>ratio</code>s</entry>
920 <entry>20.10.5</entry>
921 <entry>Comparison of <code>ratio</code>s</entry>
926 <entry>20.10.6</entry>
927 <entry>SI types for <code>ratio</code></entry>
933 <entry>Time utilities</entry>
938 <entry>20.11.3</entry>
939 <entry>Clock requirements</entry>
944 <entry>20.11.4</entry>
945 <entry>Time-related traits</entry>
950 <entry>20.11.4.1</entry>
951 <entry><code>treat_as_floating_point</code></entry>
956 <entry>20.11.4.2</entry>
957 <entry><code>duration_values</code></entry>
962 <entry>20.11.4.3</entry>
963 <entry>Specializations of <code>common_type</code></entry>
968 <?dbhtml bgcolor="#B0B0B0" ?>
969 <entry>20.11.5</entry>
970 <entry>Class template <code>duration</code></entry>
971 <entry>Partial</entry>
972 <entry>Missing constexpr for non-member arithmetic operations</entry>
975 <entry>20.11.6</entry>
976 <entry>Class template <code>time_point</code></entry>
981 <entry>20.11.7</entry>
982 <entry>Clocks</entry>
987 <entry>20.11.7.1</entry>
988 <entry>Class <code>system_clock</code></entry>
993 <entry>20.11.7.2</entry>
994 <entry>Class <code>steady_clock</code></entry>
999 <entry>20.11.7.3</entry>
1000 <entry>Class <code>high_resolution_clock</code></entry>
1005 <entry>20.11.8</entry>
1006 <entry>Date and time functions</entry>
1011 <?dbhtml bgcolor="#B0B0B0" ?>
1012 <entry>20.12</entry>
1013 <entry>Scoped allocator adaptor</entry>
1014 <entry>Partial</entry>
1018 <entry>20.12.1</entry>
1019 <entry>Header <code><scoped_allocator></code> synopsis</entry>
1024 <entry>20.12.2</entry>
1025 <entry>Scoped allocator adaptor member types</entry>
1030 <entry>20.12.3</entry>
1031 <entry>Scoped allocator adaptor constructors</entry>
1036 <?dbhtml bgcolor="#B0B0B0" ?>
1037 <entry>20.12.4</entry>
1038 <entry>Scoped allocator adaptor members</entry>
1039 <entry>Partial</entry>
1040 <entry>OUTERMOST is not recursive.</entry>
1043 <entry>20.12.5</entry>
1044 <entry>Scoped allocator operators</entry>
1049 <entry>20.13</entry>
1050 <entry>Class <code>type_index</code></entry>
1056 <emphasis>21</emphasis>
1058 <entry namest="c2" nameend="c4" align="left">
1059 <emphasis>Strings</emphasis>
1064 <entry>General</entry>
1070 <entry>Character traits</entry>
1075 <entry>21.2.1</entry>
1076 <entry>Character traits requirements</entry>
1081 <entry>21.2.2</entry>
1082 <entry>traits typedefs</entry>
1087 <entry>21.2.3</entry>
1088 <entry><code>char_traits</code> specializations</entry>
1093 <?dbhtml bgcolor="#B0B0B0" ?>
1094 <entry>21.2.3.1</entry>
1095 <entry>struct <code>char_traits<char></code></entry>
1096 <entry>Partial</entry>
1097 <entry>Missing constexpr</entry>
1100 <?dbhtml bgcolor="#B0B0B0" ?>
1101 <entry>21.2.3.2</entry>
1102 <entry>struct <code>char_traits<char16_t></code></entry>
1103 <entry>Partial</entry>
1104 <entry>Missing constexpr</entry>
1107 <entry>21.2.3.3</entry>
1108 <entry>struct <code>char_traits<char32_t></code></entry>
1113 <entry>21.2.3.4</entry>
1114 <entry>struct <code>char_traits<wchar_t></code></entry>
1120 <entry>String classes</entry>
1125 <?dbhtml bgcolor="#B0B0B0" ?>
1127 <entry>Class template <code>basic_string</code></entry>
1128 <entry>Partial</entry>
1129 <entry>Non-conforming Copy-On-Write implementation.
1130 Missing <code>getline</code> overloads for rvalue streams.
1135 <entry>Numeric Conversions</entry>
1141 <entry>Hash support</entry>
1146 <?dbhtml bgcolor="#B0B0B0" ?>
1148 <entry>Null-terminated sequence utilities</entry>
1149 <entry>Partial</entry>
1150 <entry>C library dependency.
1151 Missing <filename class="headerfile"><cuchar></filename>
1156 <emphasis>22</emphasis>
1158 <entry namest="c2" nameend="c4" align="left">
1159 <emphasis>Localization</emphasis>
1164 <entry>General</entry>
1170 <entry>Header <code><locale></code> synopsis</entry>
1176 <entry>Locales</entry>
1181 <entry>22.3.1</entry>
1182 <entry>Class <code>locale</code></entry>
1187 <entry>22.3.2</entry>
1188 <entry><code>locale</code> globals</entry>
1193 <entry>22.3.3</entry>
1194 <entry>Convenience interfaces</entry>
1199 <?dbhtml bgcolor="#B0B0B0" ?>
1200 <entry>22.3.3.1</entry>
1201 <entry>Character classification</entry>
1202 <entry>Partial</entry>
1203 <entry>Missing <code>isblank</code>.</entry>
1206 <entry>22.3.3.2</entry>
1207 <entry>Conversions</entry>
1212 <entry>22.3.3.2.1</entry>
1213 <entry>Character conversions</entry>
1218 <?dbhtml bgcolor="#C8B0B0" ?>
1219 <entry>22.3.3.2.2</entry>
1220 <entry><code>string</code> conversions</entry>
1225 <?dbhtml bgcolor="#C8B0B0" ?>
1226 <entry>22.3.3.2.3</entry>
1227 <entry>Buffer conversions</entry>
1233 <entry>Standard <code>locale</code> categories</entry>
1238 <?dbhtml bgcolor="#B0B0B0" ?>
1239 <entry>22.4.1</entry>
1240 <entry>The <code>ctype</code> category</entry>
1241 <entry>Partial</entry>
1242 <entry>Missing <code>codecvt<char16_t></code> and
1243 <code>codecvt<char32_t></code></entry>
1246 <entry>22.4.2</entry>
1247 <entry>The numeric category</entry>
1252 <entry>22.4.2.1</entry>
1253 <entry><code>num_get</code></entry>
1258 <entry>22.4.2.2</entry>
1259 <entry><code>num_put</code></entry>
1264 <entry>22.4.3</entry>
1265 <entry>The numeric punctuation facet</entry>
1270 <entry>22.4.4</entry>
1271 <entry>The collate category</entry>
1276 <entry>22.4.5</entry>
1277 <entry>The time category</entry>
1282 <?dbhtml bgcolor="#B0B0B0" ?>
1283 <entry>22.4.5.1</entry>
1284 <entry>Class template <code>time_get</code></entry>
1285 <entry>Partial</entry>
1286 <entry>Missing <code>get</code> and <code>do_get</code></entry>
1289 <?dbhtml bgcolor="#B0B0B0" ?>
1290 <entry>22.4.5.2</entry>
1291 <entry>Class template <code>time_get_byname</code></entry>
1292 <entry>Partial</entry>
1293 <entry>Likewise</entry>
1296 <entry>22.4.5.3</entry>
1297 <entry>Class template <code>time_put</code></entry>
1302 <entry>22.4.5.3</entry>
1303 <entry>Class template <code>time_put_byname</code></entry>
1308 <entry>22.4.6</entry>
1309 <entry>The monetary category</entry>
1314 <entry>22.4.6.1</entry>
1315 <entry>Class template <code>money_get</code></entry>
1320 <entry>22.4.6.2</entry>
1321 <entry>Class template <code>money_put</code></entry>
1326 <entry>22.4.6.3</entry>
1327 <entry>Class template <code>money_punct</code></entry>
1332 <entry>22.4.6.4</entry>
1333 <entry>Class template <code>money_punct_byname</code></entry>
1338 <entry>22.4.7</entry>
1339 <entry>The message retrieval category</entry>
1344 <entry>22.4.8</entry>
1345 <entry>Program-defined facets</entry>
1350 <?dbhtml bgcolor="#C8B0B0" ?>
1352 <entry>Standard code conversion facets</entry>
1358 <entry>C Library Locales</entry>
1364 <emphasis>23</emphasis>
1366 <entry namest="c2" nameend="c4" align="left">
1367 <emphasis>Containers</emphasis>
1372 <entry>General</entry>
1378 <entry>Container requirements</entry>
1383 <?dbhtml bgcolor="#B0B0B0" ?>
1384 <entry>23.2.1</entry>
1385 <entry>General container requirements</entry>
1386 <entry>Partial</entry>
1387 <entry>Only <code>vector</code> and <code>forward_list</code>
1388 meet the requirements
1389 relating to allocator use and propagation.</entry>
1392 <entry>23.2.2</entry>
1393 <entry>Container data races</entry>
1398 <entry>23.2.3</entry>
1399 <entry>Sequence containers</entry>
1404 <entry>23.2.4</entry>
1405 <entry>Associative containers</entry>
1410 <entry>23.2.5</entry>
1411 <entry>Unordered associative containers</entry>
1417 <entry>Sequence containers</entry>
1422 <entry>23.3.2</entry>
1423 <entry>Class template <code>array</code></entry>
1428 <?dbhtml bgcolor="#B0B0B0" ?>
1429 <entry>23.3.3</entry>
1430 <entry>Class template <code>deque</code></entry>
1431 <entry>Partial</entry>
1432 <entry><code>insert</code> and <code>erase</code> members do not
1433 take <code>const_iterator</code> arguments (N2350).</entry>
1436 <entry>23.3.4</entry>
1437 <entry>Class template <code>forward_list</code></entry>
1442 <?dbhtml bgcolor="#B0B0B0" ?>
1443 <entry>23.3.5</entry>
1444 <entry>Class template <code>list</code></entry>
1445 <entry>Partial</entry>
1447 <code>insert</code> and <code>erase</code> members do not
1448 take <code>const_iterator</code> arguments (N2350).
1452 <?dbhtml bgcolor="#B0B0B0" ?>
1453 <entry>23.3.6</entry>
1454 <entry>Class template <code>vector</code></entry>
1455 <entry>Partial</entry>
1456 <entry><code>insert</code> and <code>erase</code> members do not
1457 take <code>const_iterator</code> arguments (N2350).</entry>
1460 <?dbhtml bgcolor="#B0B0B0" ?>
1461 <entry>23.3.7</entry>
1462 <entry>Class <code>vector<bool></code></entry>
1463 <entry>Partial</entry>
1464 <entry><code>insert</code> and <code>erase</code> members do not
1465 take <code>const_iterator</code> arguments (N2350).</entry>
1469 <entry>Associative containers</entry>
1474 <entry>23.4.4</entry>
1475 <entry>Class template <code>map</code></entry>
1480 <entry>23.4.5</entry>
1481 <entry>Class template <code>multimap</code></entry>
1486 <entry>23.4.6</entry>
1487 <entry>Class template <code>set</code></entry>
1492 <entry>23.4.7</entry>
1493 <entry>Class template <code>multiset</code></entry>
1499 <entry>Unordered associative containers</entry>
1504 <entry>23.5.4</entry>
1505 <entry>Class template <code>unordered_map</code></entry>
1510 <entry>23.5.5</entry>
1511 <entry>Class template <code>unordered_multimap</code></entry>
1516 <entry>23.5.6</entry>
1517 <entry>Class template <code>unordered_set</code></entry>
1522 <entry>23.5.7</entry>
1523 <entry>Class template <code>unordered_multiset</code></entry>
1529 <entry>Container adaptors</entry>
1534 <entry>23.6.1</entry>
1535 <entry>Class template <code>queue</code></entry>
1540 <entry>23.6.2</entry>
1541 <entry>Class template <code>priority_queue</code></entry>
1546 <entry>23.6.3</entry>
1547 <entry>Class template <code>stack</code></entry>
1553 <emphasis>24</emphasis>
1555 <entry namest="c2" nameend="c4" align="left">
1556 <emphasis>Iterators</emphasis>
1561 <entry>General</entry>
1567 <entry>Iterator requirements</entry>
1573 <entry>Header <code><iterator></code> synopsis</entry>
1579 <entry>Iterator primitives</entry>
1585 <entry>Iterator adaptors</entry>
1590 <entry>24.5.1</entry>
1591 <entry>Reverse iterators</entry>
1596 <entry>24.5.2</entry>
1597 <entry>Insert iterators</entry>
1602 <entry>24.5.3</entry>
1603 <entry>Move iterators</entry>
1609 <entry>Stream iterators</entry>
1614 <entry>24.6.1</entry>
1615 <entry>Class template <code>istream_iterator</code></entry>
1620 <entry>24.6.2</entry>
1621 <entry>Class template <code>ostream_iterator</code></entry>
1626 <entry>24.6.3</entry>
1627 <entry>Class template <code>istreambuf_iterator</code></entry>
1632 <entry>24.6.4</entry>
1633 <entry>Class template <code>ostreambuf_iterator</code></entry>
1638 <entry>24.6.5</entry>
1639 <entry>range access</entry>
1645 <emphasis>25</emphasis>
1647 <entry namest="c2" nameend="c4" align="left">
1648 <emphasis>Algorithms</emphasis>
1653 <entry>General</entry>
1659 <entry>Non-modifying sequence operations</entry>
1664 <?dbhtml bgcolor="#B0B0B0" ?>
1666 <entry>Mutating sequence operations</entry>
1667 <entry>Partial</entry>
1668 <entry><code>rotate</code> returns <code>void</code>.</entry>
1672 <entry>Sorting and related operations</entry>
1678 <entry>C library algorithms</entry>
1684 <emphasis>26</emphasis>
1686 <entry namest="c2" nameend="c4" align="left">
1687 <emphasis>Numerics</emphasis>
1692 <entry>General</entry>
1698 <entry>Numeric type requirements</entry>
1704 <entry>The floating-point environment</entry>
1710 <entry>Complex numbers</entry>
1711 <entry>Partial</entry>
1712 <entry>Missing constexpr</entry>
1716 <entry>Random number generation</entry>
1721 <entry>26.5.1</entry>
1722 <entry>Requirements</entry>
1727 <entry>26.5.2</entry>
1728 <entry>Header <code><random></code> synopsis</entry>
1733 <entry>26.5.3</entry>
1734 <entry>Random number engine class templates</entry>
1739 <entry>26.5.3.1</entry>
1740 <entry>Class template <code>linear_congruential_engine</code></entry>
1742 <entry>Missing constexpr</entry>
1745 <entry>26.5.3.2</entry>
1746 <entry>Class template <code>mersenne_twister_engine</code></entry>
1748 <entry>Missing constexpr</entry>
1751 <entry>26.5.3.3</entry>
1752 <entry>Class template <code>subtract_with_carry_engine</code></entry>
1754 <entry>Missing constexpr</entry>
1757 <entry>26.5.4</entry>
1758 <entry>Random number engine adaptor class templates</entry>
1763 <entry>26.5.4.2</entry>
1764 <entry>Class template <code>discard_block_engine</code></entry>
1766 <entry>Missing constexpr</entry>
1769 <entry>26.5.4.3</entry>
1770 <entry>Class template <code>independent_bits_engine</code></entry>
1772 <entry>Missing constexpr</entry>
1775 <entry>26.5.4.4</entry>
1776 <entry>Class template <code>shuffle_order_engine</code></entry>
1778 <entry>Missing constexpr</entry>
1781 <entry>26.5.5</entry>
1782 <entry>Engines and engine adaptors with predefined parameters</entry>
1787 <entry>26.5.6</entry>
1788 <entry>Class <code>random_device</code></entry>
1790 <entry>Missing constexpr</entry>
1793 <entry>26.5.7</entry>
1794 <entry>Utilities</entry>
1799 <entry>26.5.7.1</entry>
1800 <entry>Class <code>seed_seq</code></entry>
1805 <entry>26.5.7.2</entry>
1806 <entry>Function template <code>generate_canonical</code></entry>
1811 <entry>26.5.8</entry>
1812 <entry>Random number distribution class templates</entry>
1817 <entry>26.5.8.2</entry>
1818 <entry>Uniform distributions</entry>
1823 <entry>26.5.8.2.1</entry>
1824 <entry>Class template <code>uniform_int_distribution</code></entry>
1829 <entry>26.5.8.2.2</entry>
1830 <entry>Class template <code>uniform_real_distribution</code></entry>
1835 <entry>26.5.8.3</entry>
1836 <entry>Bernoulli distributions</entry>
1841 <entry>26.5.8.3.1</entry>
1842 <entry>Class <code>bernoulli_distribution</code></entry>
1847 <entry>26.5.8.3.2</entry>
1848 <entry>Class template <code>binomial_distribution</code></entry>
1853 <entry>26.5.8.3.3</entry>
1854 <entry>Class template <code>geometric_distribution</code></entry>
1859 <entry>26.5.8.3.4</entry>
1860 <entry>Class template <code>negative_binomial_distribution</code></entry>
1865 <entry>26.5.8.4</entry>
1866 <entry>Poisson distributions</entry>
1871 <entry>26.5.8.4.1</entry>
1872 <entry>Class template <code>poisson_distribution</code></entry>
1877 <entry>26.5.8.4.2</entry>
1878 <entry>Class template <code>exponential_distribution</code></entry>
1883 <entry>26.5.8.4.3</entry>
1884 <entry>Class template <code>gamma_distribution</code></entry>
1889 <entry>26.5.8.4.4</entry>
1890 <entry>Class template <code>weibull_distribution</code></entry>
1895 <entry>26.5.8.4.5</entry>
1896 <entry>Class template <code>extreme_value_distribution</code></entry>
1901 <entry>26.5.8.5</entry>
1902 <entry>Normal distributions</entry>
1907 <entry>26.5.8.5.1</entry>
1908 <entry>Class template <code>normal_distribution</code></entry>
1913 <entry>26.5.8.5.2</entry>
1914 <entry>Class template <code>lognormal_distribution</code></entry>
1919 <entry>26.5.8.5.3</entry>
1920 <entry>Class template <code>chi_squared_distribution</code></entry>
1925 <entry>26.5.8.5.4</entry>
1926 <entry>Class template <code>cauchy_distribution</code></entry>
1931 <entry>26.5.8.5.5</entry>
1932 <entry>Class template <code>fisher_f_distribution</code></entry>
1937 <entry>26.5.8.5.6</entry>
1938 <entry>Class template <code>student_t_distribution</code></entry>
1943 <entry>26.5.8.6</entry>
1944 <entry>Sampling distributions</entry>
1949 <entry>26.5.8.6.1</entry>
1950 <entry>Class template <code>discrete_distribution</code></entry>
1955 <entry>26.5.8.6.2</entry>
1956 <entry>Class template <code>piecewise_constant_distribution</code></entry>
1961 <entry>26.5.8.6.3</entry>
1962 <entry>Class template <code>piecewise_linear_distribution</code></entry>
1968 <entry>Numeric arrays</entry>
1973 <entry>26.6.1</entry>
1974 <entry>Header <code><valarray></code> synopsis</entry>
1979 <entry>26.6.2</entry>
1980 <entry>Class template <code>valarray</code></entry>
1985 <entry>26.6.3</entry>
1986 <entry><code>valarray</code> non-member operations</entry>
1991 <entry>26.6.4</entry>
1992 <entry>Class <code>slice</code></entry>
1997 <entry>26.6.5</entry>
1998 <entry>Class template <code>slice_array</code></entry>
2003 <entry>26.6.6</entry>
2004 <entry>The <code>gslice</code> class</entry>
2009 <entry>26.6.7</entry>
2010 <entry>Class template <code>gslice_array</code></entry>
2015 <entry>26.6.8</entry>
2016 <entry>Class template <code>mask_array</code></entry>
2021 <entry>26.6.9</entry>
2022 <entry>Class template <code>indirect_array</code></entry>
2027 <entry>26.6.10</entry>
2028 <entry><code>valarray</code> range access</entry>
2034 <entry>Generalized numeric operations</entry>
2039 <entry>26.7.1</entry>
2040 <entry>Header <code><numeric></code> synopsis</entry>
2045 <entry>26.7.2</entry>
2046 <entry><code>accumulate</code></entry>
2051 <entry>26.7.3</entry>
2052 <entry><code>inner_product</code></entry>
2057 <entry>26.7.4</entry>
2058 <entry><code>partial_sum</code></entry>
2063 <entry>26.7.5</entry>
2064 <entry><code>adjacent_difference</code></entry>
2069 <entry>26.7.6</entry>
2075 <?dbhtml bgcolor="#B0B0B0" ?>
2077 <entry>C Library</entry>
2078 <entry>Partial</entry>
2079 <entry><code><ctgmath></code> doesn't include
2080 <code><ccomplex></code>
2085 <emphasis>27</emphasis>
2087 <entry namest="c2" nameend="c4" align="left">
2088 <emphasis>Input/output library</emphasis>
2093 <entry>General</entry>
2099 <entry>Iostreams requirements</entry>
2104 <entry>27.2.1</entry>
2105 <entry>Imbue Limitations</entry>
2110 <entry>27.2.2</entry>
2111 <entry>Positioning Type Limitations</entry>
2116 <?dbhtml bgcolor="#B0B0B0" ?>
2117 <entry>27.2.3</entry>
2118 <entry>Thread safety</entry>
2119 <entry>Partial</entry>
2124 <entry>Forward declarations</entry>
2130 <entry>Standard iostream objects</entry>
2135 <entry>27.4.1</entry>
2136 <entry>Overview</entry>
2141 <entry>27.4.2</entry>
2142 <entry>Narrow stream objects</entry>
2147 <entry>27.4.3</entry>
2148 <entry>Wide stream objects</entry>
2153 <?dbhtml bgcolor="#B0B0B0" ?>
2155 <entry>Iostreams base classes</entry>
2156 <entry>Partial</entry>
2158 Missing move and swap operations on <code>basic_ios</code>.
2159 Missing <code>io_errc</code> and <code>iostream_category</code>.
2160 <code>ios_base::failure</code> is not derived from <code>system_error</code>.
2161 Missing <code>ios_base::hexfloat</code>.
2166 <entry>Stream buffers</entry>
2171 <?dbhtml bgcolor="#B0B0B0" ?>
2173 <entry>Formatting and manipulators</entry>
2174 <entry>Partial</entry>
2176 Missing move and swap operations
2177 Missing <code>get_time</code> and <code>put_time</code> manipulators.
2181 <?dbhtml bgcolor="#B0B0B0" ?>
2183 <entry>String-based streams</entry>
2184 <entry>Partial</entry>
2185 <entry>Missing move and swap operations</entry>
2188 <?dbhtml bgcolor="#B0B0B0" ?>
2190 <entry>File-based streams</entry>
2191 <entry>Partial</entry>
2192 <entry>Missing move and swap operations</entry>
2196 <emphasis>28</emphasis>
2198 <entry namest="c2" nameend="c4" align="left">
2199 <emphasis>Regular expressions</emphasis>
2203 <?dbhtml bgcolor="#C8B0B0" ?>
2205 <entry>General</entry>
2210 <?dbhtml bgcolor="#C8B0B0" ?>
2212 <entry>Definitions</entry>
2217 <?dbhtml bgcolor="#C8B0B0" ?>
2219 <entry>Requirements</entry>
2224 <?dbhtml bgcolor="#C8B0B0" ?>
2226 <entry>Header <code><regex></code> synopsis</entry>
2232 <entry>Namespace <code>std::regex_constants</code></entry>
2238 <entry>Class <code>regex_error</code></entry>
2243 <?dbhtml bgcolor="#B0B0B0" ?>
2245 <entry>Class template <code>regex_traits</code></entry>
2246 <entry>Partial</entry>
2250 <?dbhtml bgcolor="#B0B0B0" ?>
2252 <entry>Class template <code>basic_regex</code></entry>
2253 <entry>Partial</entry>
2257 <?dbhtml bgcolor="#B0B0B0" ?>
2259 <entry>Class template <code>sub_match</code></entry>
2260 <entry>Partial</entry>
2264 <?dbhtml bgcolor="#B0B0B0" ?>
2265 <entry>28.10</entry>
2266 <entry>Class template <code>match_results</code></entry>
2267 <entry>Partial</entry>
2271 <?dbhtml bgcolor="#C8B0B0" ?>
2272 <entry>28.11</entry>
2273 <entry>Regular expression algorithms</entry>
2278 <?dbhtml bgcolor="#C8B0B0" ?>
2279 <entry>28.12</entry>
2280 <entry>Regular expression Iterators</entry>
2285 <?dbhtml bgcolor="#C8B0B0" ?>
2286 <entry>28.13</entry>
2287 <entry>Modified ECMAScript regular expression grammar</entry>
2293 <emphasis>29</emphasis>
2295 <entry namest="c2" nameend="c4" align="left">
2296 <emphasis>Atomic operations</emphasis>
2301 <entry>General</entry>
2307 <entry>Header <code><atomic></code> synopsis</entry>
2312 <?dbhtml bgcolor="#B0B0B0" ?>
2314 <entry>Order and consistency</entry>
2315 <entry>Partial</entry>
2320 <entry>Lock-free property</entry>
2326 <entry>Atomic types</entry>
2332 <entry>Operations on atomic types</entry>
2338 <entry>Flag Type and operations</entry>
2344 <entry>Fences</entry>
2350 <emphasis>30</emphasis>
2352 <entry namest="c2" nameend="c4" align="left">
2353 <emphasis>Thread support</emphasis>
2358 <entry>General</entry>
2364 <entry>Requirements</entry>
2370 <entry>Threads</entry>
2375 <?dbhtml bgcolor="#B0B0B0" ?>
2376 <entry>30.3.1</entry>
2377 <entry>Class <code>thread</code></entry>
2378 <entry>Partial</entry>
2379 <entry><code>thread::id</code> comparisons not well-defined</entry>
2382 <entry>30.3.2</entry>
2383 <entry>Namespace <code>this_thread</code></entry>
2389 <entry>Mutual exclusion</entry>
2394 <entry>30.4.1</entry>
2395 <entry>Mutex requirements</entry>
2400 <entry>30.4.1.1</entry>
2401 <entry>In general</entry>
2406 <entry>30.4.1.2</entry>
2407 <entry>Mutex types</entry>
2412 <entry>30.4.1.2.1</entry>
2413 <entry>Class <code>mutex</code></entry>
2418 <entry>30.4.1.2.2</entry>
2419 <entry>Class <code>recursive_mutex</code></entry>
2424 <entry>30.4.1.3</entry>
2425 <entry>Timed mutex types</entry>
2427 <entry>On POSIX sytems these types are only defined if the OS
2428 supports the POSIX Timeouts option. </entry>
2431 <entry>30.4.1.3.1</entry>
2432 <entry>Class <code>timed_mutex</code></entry>
2437 <entry>30.4.1.3.2</entry>
2438 <entry>Class <code>recursive_timed_mutex</code></entry>
2443 <entry>30.4.2</entry>
2444 <entry>Locks</entry>
2449 <entry>30.4.2.1</entry>
2450 <entry>Class template <code>lock_guard</code></entry>
2455 <entry>30.4.2.2</entry>
2456 <entry>Class template <code>unique_lock</code></entry>
2461 <entry>30.4.3</entry>
2462 <entry>Generic locking algorithms</entry>
2467 <entry>30.4.4</entry>
2468 <entry>Call once</entry>
2473 <entry>30.4.4.1</entry>
2474 <entry>Struct <code>once_flag</code></entry>
2479 <entry>30.4.4.2</entry>
2480 <entry>Function <code>call_once</code></entry>
2485 <?dbhtml bgcolor="#B0B0B0" ?>
2487 <entry>Condition variables</entry>
2488 <entry>Partial</entry>
2489 <entry>Missing notify_all_at_thread_exit</entry>
2492 <entry>30.5.1</entry>
2493 <entry>Class <code>condition_variable</code></entry>
2498 <entry>30.5.2</entry>
2499 <entry>Class <code>condition_variable_any</code></entry>
2505 <entry>Futures</entry>
2510 <entry>30.6.1</entry>
2511 <entry>Overview</entry>
2516 <entry>30.6.2</entry>
2517 <entry>Error handling</entry>
2522 <entry>30.6.3</entry>
2523 <entry>Class <code>future_error</code></entry>
2528 <entry>30.6.4</entry>
2529 <entry>Shared state</entry>
2534 <?dbhtml bgcolor="#B0B0B0" ?>
2535 <entry>30.6.5</entry>
2536 <entry>Class template <code>promise</code></entry>
2537 <entry>Partial</entry>
2538 <entry>Missing set_*_at_thread_exit</entry>
2541 <?dbhtml bgcolor="#B0B0B0" ?>
2542 <entry>30.6.6</entry>
2543 <entry>Class template <code>future</code></entry>
2544 <entry>Partial</entry>
2545 <entry>Timed waiting functions do not return future_status::deferred</entry>
2548 <?dbhtml bgcolor="#B0B0B0" ?>
2549 <entry>30.6.7</entry>
2550 <entry>Class template <code>shared_future</code></entry>
2551 <entry>Partial</entry>
2552 <entry>Timed waiting functions do not return future_status::deferred</entry>
2555 <entry>30.6.8</entry>
2556 <entry>Function template <code>async</code></entry>
2561 <?dbhtml bgcolor="#B0B0B0" ?>
2562 <entry>30.6.9</entry>
2563 <entry>Class template <code>packaged_task</code></entry>
2564 <entry>Partial</entry>
2565 <entry>Missing make_ready_at_thread_exit</entry>
2569 <emphasis>Appendix D</emphasis>
2571 <entry namest="c2" nameend="c4" align="left">
2572 <emphasis>Compatibility features</emphasis>
2577 <entry>Increment operator with <code>bool</code> operand</entry>
2583 <entry><code>register</code> keyword</entry>
2589 <entry>Implicit declaration of copy functions</entry>
2595 <entry>Dynamic exception specifications</entry>
2601 <entry>C standard library headers</entry>
2607 <entry>Old iostreams members</entry>
2613 <entry><code>char*</code> streams</entry>
2619 <entry>Function objects</entry>
2625 <entry>Binders</entry>
2631 <entry><code>auto_ptr</code></entry>
2636 <?dbhtml bgcolor="#B0B0B0" ?>
2638 <entry>Violating exception-specifications</entry>
2639 <entry>Partial</entry>
2640 <entry>Missing <code>get_unexpected</code>.
2641 <code>set_unexpected</code> is not thread-safe.
2649 <section xml:id="iso.2011.specific" xreflabel="Implementation Specific"><info><title>Implementation Specific Behavior</title></info>
2651 <para>For behaviour which is also specified by the 1998 and 2003 standards,
2652 see <link linkend="iso.1998.specific">C++ 1998/2003 Implementation
2653 Specific Behavior</link>. This section only documents behaviour which
2654 is new in the 2011 standard.
2658 <emphasis>20.8.9.1.3 [func.bind.place]/1</emphasis> There are 29
2659 placeholders defined and the placeholder types are
2660 <literal>CopyAssignable</literal>.
2664 <emphasis>23.5.4.2 [unord.map.cnstr]</emphasis>,
2665 <emphasis>23.5.5.2 [unord.multimap.cnstr]</emphasis>,
2666 <emphasis>23.5.6.2 [unord.set.cnstr]</emphasis>,
2667 <emphasis>23.5.7.2 [unord.multiset.cnstr]</emphasis>
2668 The default bucket count is 10 for the default constructors
2669 and 0 for the range constructors and initializer-list constructors.
2673 <emphasis>30.2.3 [thread.req.native]/1</emphasis>
2674 <classname>native_handle_type</classname> and
2675 <methodname>native_handle</methodname> are provided. The handle types
2676 are defined in terms of the Gthreads abstraction layer.
2678 <listitem><para><classname>thread</classname>: The native handle type is
2679 a typedef for <code>__gthread_t</code> i.e. <code>pthread_t</code>
2680 when GCC is configured with the <literal>posix</literal> thread
2681 model. The value of the native handle is undefined for a thread
2682 which is not joinable.
2684 <listitem><para><classname>mutex</classname> and
2685 <classname>timed_mutex</classname>:
2686 The native handle type is <code>__gthread_mutex_t*</code> i.e.
2687 <code>pthread_mutex_t*</code> for the <literal>posix</literal>
2690 <listitem><para><classname>recursive_mutex</classname> and
2691 <classname>recursive_timed_mutex</classname>:
2692 The native handle type is <code>__gthread_recursive_mutex_t*</code>
2693 i.e. <code>pthread_mutex_t*</code> for the <literal>posix</literal>
2696 <listitem><para><classname>condition_variable</classname>: The native
2697 handle type is <code>__gthread_cond_t*</code> i.e.
2698 <code>pthread_cond_t*</code> for the <literal>posix</literal>
2705 <emphasis>30.6.1 [futures.overview]/2</emphasis>
2706 <code>launch</code> is a scoped enumeration type with
2707 overloaded operators to support bitmask operations. There are no
2708 additional bitmask elements defined.