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 <entry>18.8.6</entry>
230 <entry><code>nested_exception</code></entry>
236 <entry>Initializer lists</entry>
241 <entry>18.9.1</entry>
242 <entry>Initializer list constructors</entry>
247 <entry>18.9.2</entry>
248 <entry>Initializer list access</entry>
253 <entry>18.9.3</entry>
254 <entry>Initializer list range access</entry>
260 <entry>Other runtime support</entry>
266 <emphasis>19</emphasis>
268 <entry namest="c2" nameend="c4" align="left">
269 <emphasis>Diagnostics</emphasis>
274 <entry>General</entry>
279 <?dbhtml bgcolor="#B0B0B0" ?>
281 <entry>Exception classes</entry>
282 <entry>Partial</entry>
283 <entry>Missing <code>const char*</code> constructors.</entry>
287 <entry>Assertions</entry>
293 <entry>Error numbers</entry>
299 <entry>System error support</entry>
304 <entry>19.5.1</entry>
305 <entry>Class <code>error_category</code></entry>
310 <entry>19.5.2</entry>
311 <entry>Class <code>error_code</code></entry>
316 <entry>19.5.3</entry>
317 <entry>Class <code>error_condition</code></entry>
322 <entry>19.5.4</entry>
323 <entry>Comparison operators</entry>
328 <?dbhtml bgcolor="#B0B0B0" ?>
329 <entry>19.5.5</entry>
330 <entry>Class <code>system_error</code></entry>
331 <entry>Partial</entry>
332 <entry>Missing <code>const char*</code> constructors.</entry>
336 <emphasis>20</emphasis>
338 <entry namest="c2" nameend="c4" align="left">
339 <emphasis>General utilities</emphasis>
344 <entry>General</entry>
350 <entry>Utility components</entry>
355 <entry>20.2.1</entry>
356 <entry>Operators</entry>
361 <entry>20.2.2</entry>
367 <entry>20.2.3</entry>
368 <entry><code>forward</code> and <code>move</code> helpers</entry>
373 <entry>20.2.4</entry>
374 <entry>Function template <code>declval</code></entry>
385 <entry>20.3.1</entry>
386 <entry>In general</entry>
391 <entry>20.3.2</entry>
392 <entry>Class template <code>pair</code></entry>
397 <entry>20.3.3</entry>
398 <entry>Specialized algorithms</entry>
403 <entry>20.3.4</entry>
404 <entry>Tuple-like access to <code>pair</code></entry>
409 <entry>20.3.5</entry>
410 <entry>Piecewise construction</entry>
416 <entry>Tuples</entry>
421 <entry>20.4.1</entry>
422 <entry>In general</entry>
427 <entry>20.4.2</entry>
428 <entry>Class template <code>tuple</code></entry>
433 <entry>20.4.2.1</entry>
434 <entry>Construction</entry>
439 <entry>20.4.2.2</entry>
440 <entry>Assignment</entry>
445 <entry>20.4.2.3</entry>
451 <entry>20.4.2.4</entry>
452 <entry>Tuple creation functions</entry>
457 <entry>20.4.2.5</entry>
458 <entry>Tuple helper classes</entry>
463 <entry>20.4.2.6</entry>
464 <entry>Element access</entry>
469 <entry>20.4.2.7</entry>
470 <entry>Relational operators</entry>
475 <entry>20.4.2.8</entry>
476 <entry>Tuple traits</entry>
481 <entry>20.4.2.9</entry>
482 <entry>Tuple specialized algorithms</entry>
488 <entry>Class template <code>bitset</code></entry>
493 <entry>20.5.1</entry>
494 <entry><code>bitset</code> constructors</entry>
499 <entry>20.5.2</entry>
500 <entry><code>bitset</code> members</entry>
505 <entry>20.5.3</entry>
506 <entry><code>bitset</code> hash support</entry>
511 <entry>20.5.4</entry>
512 <entry><code>bitset</code> operators</entry>
518 <entry>Memory</entry>
523 <entry>20.6.1</entry>
524 <entry>In general</entry>
529 <entry>20.6.2</entry>
530 <entry>Header <code><memory></code> synopsis</entry>
535 <entry>20.6.3</entry>
536 <entry>Pointer traits</entry>
541 <?dbhtml bgcolor="#B0B0B0" ?>
542 <entry>20.6.4</entry>
543 <entry>Pointer safety</entry>
544 <entry>Partial</entry>
548 <?dbhtml bgcolor="#C8B0B0" ?>
549 <entry>20.6.5</entry>
555 <entry>20.6.6</entry>
556 <entry>Allocator argument tag</entry>
561 <entry>20.6.7</entry>
562 <entry><code>uses_allocator</code></entry>
567 <entry>20.6.8</entry>
568 <entry>Allocator traits</entry>
573 <entry>20.6.9</entry>
574 <entry>The default allocator</entry>
579 <entry>20.6.10</entry>
580 <entry>Raw storage iterator</entry>
585 <entry>20.6.11</entry>
586 <entry>Temporary buffers</entry>
591 <entry>20.6.12</entry>
592 <entry>Specialized algorithms</entry>
597 <entry>20.6.12.1</entry>
598 <entry><code>addressof</code></entry>
603 <entry>20.6.12.2</entry>
604 <entry><code>uninitialized_copy</code></entry>
609 <entry>20.6.12.3</entry>
610 <entry><code>uninitialized_fill</code></entry>
615 <entry>20.6.12.4</entry>
616 <entry><code>uninitialized_fill_n</code></entry>
621 <entry>20.6.13</entry>
622 <entry>C library</entry>
628 <entry>Smart pointers</entry>
633 <entry>20.7.1</entry>
634 <entry>Class template <code>unique_ptr</code></entry>
639 <entry>20.7.2</entry>
640 <entry>Shared-ownership pointers</entry>
645 <entry>20.7.2.1</entry>
646 <entry>Class <code>bad_weak_ptr</code></entry>
651 <entry>20.7.2.2</entry>
652 <entry>Class template <code>shared_ptr</code></entry>
657 <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>.
662 <entry>20.7.2.3</entry>
663 <entry>Class template <code>weak_ptr</code></entry>
668 <entry>20.7.2.4</entry>
669 <entry>Class template <code>emable_shared_from_this</code></entry>
674 <?dbhtml bgcolor="#B0B0B0" ?>
675 <entry>20.7.2.5</entry>
676 <entry><code>shared_ptr</code> atomic access</entry>
677 <entry>Partial</entry>
681 <entry>20.7.2.6</entry>
682 <entry>Smart pointer hash support</entry>
688 <entry>Function objects</entry>
693 <entry>20.8.1</entry>
694 <entry>Definitions</entry>
699 <entry>20.8.2</entry>
700 <entry>Requirements</entry>
705 <entry>20.8.3</entry>
706 <entry>Class template <code>reference_wrapper</code></entry>
711 <entry>20.8.4</entry>
712 <entry>Arithmetic operation</entry>
717 <entry>20.8.5</entry>
718 <entry>Comparisons</entry>
723 <entry>20.8.6</entry>
724 <entry>Logical operations</entry>
729 <entry>20.8.7</entry>
730 <entry>Bitwise operations</entry>
735 <entry>20.8.8</entry>
736 <entry>Negators</entry>
741 <entry>20.8.9</entry>
742 <entry>Function template <code>bind</code></entry>
747 <entry>20.8.10</entry>
748 <entry>Function template <code>mem_fn</code></entry>
753 <entry>20.8.11</entry>
754 <entry>Polymorphic function wrappers</entry>
759 <entry>20.8.11.1</entry>
760 <entry>Class <code>bad_function_call</code></entry>
765 <?dbhtml bgcolor="#B0B0B0" ?>
766 <entry>20.8.11.2</entry>
767 <entry>Class template <code>function</code></entry>
768 <entry>Partial</entry>
769 <entry>Missing allocator support</entry>
772 <entry>20.8.12</entry>
773 <entry>Class template <code>hash</code></entry>
779 <entry>Metaprogramming and type traits</entry>
784 <entry>20.9.1</entry>
785 <entry>Requirements</entry>
790 <entry>20.9.2</entry>
791 <entry>Header <code><type_traits></code> synopsis</entry>
796 <entry>20.9.3</entry>
797 <entry>Helper classes</entry>
802 <entry>20.9.4</entry>
803 <entry>Unary Type Traits</entry>
808 <entry>20.9.4.1</entry>
809 <entry>Primary type categories</entry>
814 <entry>20.9.4.2</entry>
815 <entry>Composite type traits</entry>
820 <?dbhtml bgcolor="#B0B0B0" ?>
821 <entry>20.9.4.3</entry>
822 <entry>Type properties</entry>
823 <entry>Partial</entry>
824 <entry>Missing is_trivially_copyable,
825 is_trivially_constructible, is_trivially_default_constructible,
826 is_trivially_copy_constructible, is_trivially_move_constructible,
827 is_trivially_assignable, is_trivially_default_assignable,
828 is_trivially_copy_assignable, is_trivially_move_assignable
832 <entry>20.9.5</entry>
833 <entry>Type property queries</entry>
838 <entry>20.9.6</entry>
839 <entry>Relationships between types</entry>
844 <entry>20.9.7</entry>
845 <entry>Transformations between types</entry>
850 <entry>20.9.7.1</entry>
851 <entry>Const-volatile modifications</entry>
856 <entry>20.9.7.2</entry>
857 <entry>Reference modifications</entry>
862 <entry>20.9.7.3</entry>
863 <entry>Sign modifications</entry>
868 <entry>20.9.7.4</entry>
869 <entry>Array modifications</entry>
874 <entry>20.9.7.5</entry>
875 <entry>Pointer modifications</entry>
880 <?dbhtml bgcolor="#B0B0B0" ?>
881 <entry>20.9.7.6</entry>
882 <entry>Other transformations</entry>
883 <entry>Partial</entry>
884 <entry>Missing <code>aligned_union</code>.</entry>
888 <entry>Compile-time rational arithmetic</entry>
893 <entry>20.10.1</entry>
894 <entry>In general</entry>
899 <entry>20.10.2</entry>
900 <entry>Header <code><ratio></code> synopsis</entry>
905 <entry>20.10.3</entry>
906 <entry>Class template <code>ratio</code></entry>
911 <entry>20.10.4</entry>
912 <entry>Arithmetic on <code>ratio</code>s</entry>
917 <entry>20.10.5</entry>
918 <entry>Comparison of <code>ratio</code>s</entry>
923 <entry>20.10.6</entry>
924 <entry>SI types for <code>ratio</code></entry>
930 <entry>Time utilities</entry>
935 <entry>20.11.3</entry>
936 <entry>Clock requirements</entry>
941 <entry>20.11.4</entry>
942 <entry>Time-related traits</entry>
947 <entry>20.11.4.1</entry>
948 <entry><code>treat_as_floating_point</code></entry>
953 <entry>20.11.4.2</entry>
954 <entry><code>duration_values</code></entry>
959 <entry>20.11.4.3</entry>
960 <entry>Specializations of <code>common_type</code></entry>
965 <?dbhtml bgcolor="#B0B0B0" ?>
966 <entry>20.11.5</entry>
967 <entry>Class template <code>duration</code></entry>
968 <entry>Partial</entry>
969 <entry>Missing constexpr for non-member arithmetic operations</entry>
972 <entry>20.11.6</entry>
973 <entry>Class template <code>time_point</code></entry>
978 <entry>20.11.7</entry>
979 <entry>Clocks</entry>
984 <entry>20.11.7.1</entry>
985 <entry>Class <code>system_clock</code></entry>
990 <entry>20.11.7.2</entry>
991 <entry>Class <code>steady_clock</code></entry>
996 <entry>20.11.7.3</entry>
997 <entry>Class <code>high_resolution_clock</code></entry>
1002 <entry>20.11.8</entry>
1003 <entry>Date and time functions</entry>
1008 <?dbhtml bgcolor="#B0B0B0" ?>
1009 <entry>20.12</entry>
1010 <entry>Scoped allocator adaptor</entry>
1011 <entry>Partial</entry>
1015 <entry>20.12.1</entry>
1016 <entry>Header <code><scoped_allocator></code> synopsis</entry>
1021 <entry>20.12.2</entry>
1022 <entry>Scoped allocator adaptor member types</entry>
1027 <entry>20.12.3</entry>
1028 <entry>Scoped allocator adaptor constructors</entry>
1033 <?dbhtml bgcolor="#B0B0B0" ?>
1034 <entry>20.12.4</entry>
1035 <entry>Scoped allocator adaptor members</entry>
1036 <entry>Partial</entry>
1037 <entry>OUTERMOST is not recursive.</entry>
1040 <entry>20.12.5</entry>
1041 <entry>Scoped allocator operators</entry>
1046 <entry>20.13</entry>
1047 <entry>Class <code>type_index</code></entry>
1053 <emphasis>21</emphasis>
1055 <entry namest="c2" nameend="c4" align="left">
1056 <emphasis>Strings</emphasis>
1061 <entry>General</entry>
1067 <entry>Character traits</entry>
1072 <entry>21.2.1</entry>
1073 <entry>Character traits requirements</entry>
1078 <entry>21.2.2</entry>
1079 <entry>traits typedefs</entry>
1084 <entry>21.2.3</entry>
1085 <entry><code>char_traits</code> specializations</entry>
1090 <?dbhtml bgcolor="#B0B0B0" ?>
1091 <entry>21.2.3.1</entry>
1092 <entry>struct <code>char_traits<char></code></entry>
1093 <entry>Partial</entry>
1094 <entry>Missing constexpr</entry>
1097 <?dbhtml bgcolor="#B0B0B0" ?>
1098 <entry>21.2.3.2</entry>
1099 <entry>struct <code>char_traits<char16_t></code></entry>
1100 <entry>Partial</entry>
1101 <entry>Missing constexpr</entry>
1104 <entry>21.2.3.3</entry>
1105 <entry>struct <code>char_traits<char32_t></code></entry>
1110 <entry>21.2.3.4</entry>
1111 <entry>struct <code>char_traits<wchar_t></code></entry>
1117 <entry>String classes</entry>
1123 <entry>Class template <code>basic_string</code></entry>
1129 <entry>Numeric Conversions</entry>
1135 <entry>Hash support</entry>
1140 <?dbhtml bgcolor="#B0B0B0" ?>
1142 <entry>Null-terminated sequence utilities</entry>
1143 <entry>Partial</entry>
1144 <entry>C library dependency.
1145 Missing <filename class="headerfile"><cuchar></filename>
1150 <emphasis>22</emphasis>
1152 <entry namest="c2" nameend="c4" align="left">
1153 <emphasis>Localization</emphasis>
1158 <entry>General</entry>
1164 <entry>Header <code><locale></code> synopsis</entry>
1170 <entry>Locales</entry>
1175 <entry>22.3.1</entry>
1176 <entry>Class <code>locale</code></entry>
1181 <entry>22.3.2</entry>
1182 <entry><code>locale</code> globals</entry>
1187 <entry>22.3.3</entry>
1188 <entry>Convenience interfaces</entry>
1193 <entry>22.3.3.1</entry>
1194 <entry>Character classification</entry>
1199 <entry>22.3.3.2</entry>
1200 <entry>Conversions</entry>
1205 <entry>22.3.3.2.1</entry>
1206 <entry>Character conversions</entry>
1211 <?dbhtml bgcolor="#C8B0B0" ?>
1212 <entry>22.3.3.2.2</entry>
1213 <entry><code>string</code> conversions</entry>
1218 <?dbhtml bgcolor="#C8B0B0" ?>
1219 <entry>22.3.3.2.3</entry>
1220 <entry>Buffer conversions</entry>
1226 <entry>Standard <code>locale</code> categories</entry>
1231 <?dbhtml bgcolor="#B0B0B0" ?>
1232 <entry>22.4.1</entry>
1233 <entry>The <code>ctype</code> category</entry>
1234 <entry>Partial</entry>
1235 <entry>Missing <code>codecvt<char16_t></code> and
1236 <code>codecvt<char32_t></code></entry>
1239 <entry>22.4.2</entry>
1240 <entry>The numeric category</entry>
1245 <entry>22.4.2.1</entry>
1246 <entry><code>num_get</code></entry>
1251 <entry>22.4.2.2</entry>
1252 <entry><code>num_put</code></entry>
1257 <entry>22.4.3</entry>
1258 <entry>The numeric punctuation facet</entry>
1263 <entry>22.4.4</entry>
1264 <entry>The collate category</entry>
1269 <entry>22.4.5</entry>
1270 <entry>The time category</entry>
1275 <entry>22.4.5.1</entry>
1276 <entry>Class template <code>time_get</code></entry>
1281 <entry>22.4.5.2</entry>
1282 <entry>Class template <code>time_get_byname</code></entry>
1287 <entry>22.4.5.3</entry>
1288 <entry>Class template <code>time_put</code></entry>
1293 <entry>22.4.5.3</entry>
1294 <entry>Class template <code>time_put_byname</code></entry>
1299 <entry>22.4.6</entry>
1300 <entry>The monetary category</entry>
1305 <entry>22.4.6.1</entry>
1306 <entry>Class template <code>money_get</code></entry>
1311 <entry>22.4.6.2</entry>
1312 <entry>Class template <code>money_put</code></entry>
1317 <entry>22.4.6.3</entry>
1318 <entry>Class template <code>money_punct</code></entry>
1323 <entry>22.4.6.4</entry>
1324 <entry>Class template <code>money_punct_byname</code></entry>
1329 <entry>22.4.7</entry>
1330 <entry>The message retrieval category</entry>
1335 <entry>22.4.8</entry>
1336 <entry>Program-defined facets</entry>
1341 <?dbhtml bgcolor="#C8B0B0" ?>
1343 <entry>Standard code conversion facets</entry>
1349 <entry>C Library Locales</entry>
1355 <emphasis>23</emphasis>
1357 <entry namest="c2" nameend="c4" align="left">
1358 <emphasis>Containers</emphasis>
1363 <entry>General</entry>
1369 <entry>Container requirements</entry>
1374 <?dbhtml bgcolor="#B0B0B0" ?>
1375 <entry>23.2.1</entry>
1376 <entry>General container requirements</entry>
1377 <entry>Partial</entry>
1378 <entry>Only <code>vector</code> and <code>forward_list</code>
1379 meet the requirements
1380 relating to allocator use and propagation.</entry>
1383 <entry>23.2.2</entry>
1384 <entry>Container data races</entry>
1389 <entry>23.2.3</entry>
1390 <entry>Sequence containers</entry>
1395 <entry>23.2.4</entry>
1396 <entry>Associative containers</entry>
1401 <entry>23.2.5</entry>
1402 <entry>Unordered associative containers</entry>
1408 <entry>Sequence containers</entry>
1413 <entry>23.3.2</entry>
1414 <entry>Class template <code>array</code></entry>
1419 <?dbhtml bgcolor="#B0B0B0" ?>
1420 <entry>23.3.3</entry>
1421 <entry>Class template <code>deque</code></entry>
1422 <entry>Partial</entry>
1423 <entry><code>insert</code> and <code>erase</code> members do not
1424 take <code>const_iterator</code> arguments (N2350).</entry>
1427 <entry>23.3.4</entry>
1428 <entry>Class template <code>forward_list</code></entry>
1433 <?dbhtml bgcolor="#B0B0B0" ?>
1434 <entry>23.3.5</entry>
1435 <entry>Class template <code>list</code></entry>
1436 <entry>Partial</entry>
1437 <entry><code>insert</code> and <code>erase</code> members do not
1438 take <code>const_iterator</code> arguments (N2350).</entry>
1441 <?dbhtml bgcolor="#B0B0B0" ?>
1442 <entry>23.3.6</entry>
1443 <entry>Class template <code>vector</code></entry>
1444 <entry>Partial</entry>
1445 <entry><code>insert</code> and <code>erase</code> members do not
1446 take <code>const_iterator</code> arguments (N2350).</entry>
1449 <?dbhtml bgcolor="#B0B0B0" ?>
1450 <entry>23.3.7</entry>
1451 <entry>Class <code>vector<bool></code></entry>
1452 <entry>Partial</entry>
1453 <entry><code>insert</code> and <code>erase</code> members do not
1454 take <code>const_iterator</code> arguments (N2350).</entry>
1458 <entry>Associative containers</entry>
1463 <entry>23.4.4</entry>
1464 <entry>Class template <code>map</code></entry>
1469 <entry>23.4.5</entry>
1470 <entry>Class template <code>multimap</code></entry>
1475 <entry>23.4.6</entry>
1476 <entry>Class template <code>set</code></entry>
1481 <entry>23.4.7</entry>
1482 <entry>Class template <code>multiset</code></entry>
1488 <entry>Unordered associative containers</entry>
1493 <entry>23.5.4</entry>
1494 <entry>Class template <code>unordered_map</code></entry>
1499 <entry>23.5.5</entry>
1500 <entry>Class template <code>unordered_multimap</code></entry>
1505 <entry>23.5.6</entry>
1506 <entry>Class template <code>unordered_set</code></entry>
1511 <entry>23.5.7</entry>
1512 <entry>Class template <code>unordered_multiset</code></entry>
1518 <entry>Container adaptors</entry>
1523 <entry>23.6.1</entry>
1524 <entry>Class template <code>queue</code></entry>
1529 <entry>23.6.2</entry>
1530 <entry>Class template <code>priority_queue</code></entry>
1535 <entry>23.6.3</entry>
1536 <entry>Class template <code>stack</code></entry>
1542 <emphasis>24</emphasis>
1544 <entry namest="c2" nameend="c4" align="left">
1545 <emphasis>Iterators</emphasis>
1550 <entry>General</entry>
1556 <entry>Iterator requirements</entry>
1562 <entry>Header <code><iterator></code> synopsis</entry>
1568 <entry>Iterator primitives</entry>
1574 <entry>Iterator adaptors</entry>
1579 <entry>24.5.1</entry>
1580 <entry>Reverse iterators</entry>
1585 <entry>24.5.2</entry>
1586 <entry>Insert iterators</entry>
1591 <entry>24.5.3</entry>
1592 <entry>Move iterators</entry>
1598 <entry>Stream iterators</entry>
1603 <entry>24.6.1</entry>
1604 <entry>Class template <code>istream_iterator</code></entry>
1609 <entry>24.6.2</entry>
1610 <entry>Class template <code>ostream_iterator</code></entry>
1615 <entry>24.6.3</entry>
1616 <entry>Class template <code>istreambuf_iterator</code></entry>
1621 <entry>24.6.4</entry>
1622 <entry>Class template <code>ostreambuf_iterator</code></entry>
1627 <entry>24.6.5</entry>
1628 <entry>range access</entry>
1634 <emphasis>25</emphasis>
1636 <entry namest="c2" nameend="c4" align="left">
1637 <emphasis>Algorithms</emphasis>
1642 <entry>General</entry>
1648 <entry>Non-modifying sequence operations</entry>
1654 <entry>Mutating sequence operations</entry>
1660 <entry>Sorting and related operations</entry>
1666 <entry>C library algorithms</entry>
1672 <emphasis>26</emphasis>
1674 <entry namest="c2" nameend="c4" align="left">
1675 <emphasis>Numerics</emphasis>
1680 <entry>General</entry>
1686 <entry>Numeric type requirements</entry>
1692 <entry>The floating-point environment</entry>
1698 <entry>Complex numbers</entry>
1699 <entry>Partial</entry>
1700 <entry>Missing constexpr</entry>
1704 <entry>Random number generation</entry>
1709 <entry>26.5.1</entry>
1710 <entry>Requirements</entry>
1715 <entry>26.5.2</entry>
1716 <entry>Header <code><random></code> synopsis</entry>
1721 <entry>26.5.3</entry>
1722 <entry>Random number engine class templates</entry>
1727 <entry>26.5.3.1</entry>
1728 <entry>Class template <code>linear_congruential_engine</code></entry>
1730 <entry>Missing constexpr</entry>
1733 <entry>26.5.3.2</entry>
1734 <entry>Class template <code>mersenne_twister_engine</code></entry>
1736 <entry>Missing constexpr</entry>
1739 <entry>26.5.3.3</entry>
1740 <entry>Class template <code>subtract_with_carry_engine</code></entry>
1742 <entry>Missing constexpr</entry>
1745 <entry>26.5.4</entry>
1746 <entry>Random number engine adaptor class templates</entry>
1751 <entry>26.5.4.2</entry>
1752 <entry>Class template <code>discard_block_engine</code></entry>
1754 <entry>Missing constexpr</entry>
1757 <entry>26.5.4.3</entry>
1758 <entry>Class template <code>independent_bits_engine</code></entry>
1760 <entry>Missing constexpr</entry>
1763 <entry>26.5.4.4</entry>
1764 <entry>Class template <code>shuffle_order_engine</code></entry>
1766 <entry>Missing constexpr</entry>
1769 <entry>26.5.5</entry>
1770 <entry>Engines and engine adaptors with predefined parameters</entry>
1775 <entry>26.5.6</entry>
1776 <entry>Class <code>random_device</code></entry>
1778 <entry>Missing constexpr</entry>
1781 <entry>26.5.7</entry>
1782 <entry>Utilities</entry>
1787 <entry>26.5.7.1</entry>
1788 <entry>Class <code>seed_seq</code></entry>
1793 <entry>26.5.7.2</entry>
1794 <entry>Function template <code>generate_canonical</code></entry>
1799 <entry>26.5.8</entry>
1800 <entry>Random number distribution class templates</entry>
1805 <entry>26.5.8.2</entry>
1806 <entry>Uniform distributions</entry>
1811 <entry>26.5.8.2.1</entry>
1812 <entry>Class template <code>uniform_int_distribution</code></entry>
1817 <entry>26.5.8.2.2</entry>
1818 <entry>Class template <code>uniform_real_distribution</code></entry>
1823 <entry>26.5.8.3</entry>
1824 <entry>Bernoulli distributions</entry>
1829 <entry>26.5.8.3.1</entry>
1830 <entry>Class <code>bernoulli_distribution</code></entry>
1835 <entry>26.5.8.3.2</entry>
1836 <entry>Class template <code>binomial_distribution</code></entry>
1841 <entry>26.5.8.3.3</entry>
1842 <entry>Class template <code>geometric_distribution</code></entry>
1847 <entry>26.5.8.3.4</entry>
1848 <entry>Class template <code>negative_binomial_distribution</code></entry>
1853 <entry>26.5.8.4</entry>
1854 <entry>Poisson distributions</entry>
1859 <entry>26.5.8.4.1</entry>
1860 <entry>Class template <code>poisson_distribution</code></entry>
1865 <entry>26.5.8.4.2</entry>
1866 <entry>Class template <code>exponential_distribution</code></entry>
1871 <entry>26.5.8.4.3</entry>
1872 <entry>Class template <code>gamma_distribution</code></entry>
1877 <entry>26.5.8.4.4</entry>
1878 <entry>Class template <code>weibull_distribution</code></entry>
1883 <entry>26.5.8.4.5</entry>
1884 <entry>Class template <code>extreme_value_distribution</code></entry>
1889 <entry>26.5.8.5</entry>
1890 <entry>Normal distributions</entry>
1895 <entry>26.5.8.5.1</entry>
1896 <entry>Class template <code>normal_distribution</code></entry>
1901 <entry>26.5.8.5.2</entry>
1902 <entry>Class template <code>lognormal_distribution</code></entry>
1907 <entry>26.5.8.5.3</entry>
1908 <entry>Class template <code>chi_squared_distribution</code></entry>
1913 <entry>26.5.8.5.4</entry>
1914 <entry>Class template <code>cauchy_distribution</code></entry>
1919 <entry>26.5.8.5.5</entry>
1920 <entry>Class template <code>fisher_f_distribution</code></entry>
1925 <entry>26.5.8.5.6</entry>
1926 <entry>Class template <code>student_t_distribution</code></entry>
1931 <entry>26.5.8.6</entry>
1932 <entry>Sampling distributions</entry>
1937 <entry>26.5.8.6.1</entry>
1938 <entry>Class template <code>discrete_distribution</code></entry>
1943 <entry>26.5.8.6.2</entry>
1944 <entry>Class template <code>piecewise_constant_distribution</code></entry>
1949 <entry>26.5.8.6.3</entry>
1950 <entry>Class template <code>piecewise_linear_distribution</code></entry>
1956 <entry>Numeric arrays</entry>
1961 <entry>26.6.1</entry>
1962 <entry>Header <code><valarray></code> synopsis</entry>
1967 <entry>26.6.2</entry>
1968 <entry>Class template <code>valarray</code></entry>
1973 <entry>26.6.3</entry>
1974 <entry><code>valarray</code> non-member operations</entry>
1979 <entry>26.6.4</entry>
1980 <entry>Class <code>slice</code></entry>
1985 <entry>26.6.5</entry>
1986 <entry>Class template <code>slice_array</code></entry>
1991 <entry>26.6.6</entry>
1992 <entry>The <code>gslice</code> class</entry>
1997 <entry>26.6.7</entry>
1998 <entry>Class template <code>gslice_array</code></entry>
2003 <entry>26.6.8</entry>
2004 <entry>Class template <code>mask_array</code></entry>
2009 <entry>26.6.9</entry>
2010 <entry>Class template <code>indirect_array</code></entry>
2015 <entry>26.6.10</entry>
2016 <entry><code>valarray</code> range access</entry>
2022 <entry>Generalized numeric operations</entry>
2027 <entry>26.7.1</entry>
2028 <entry>Header <code><numeric></code> synopsis</entry>
2033 <entry>26.7.2</entry>
2034 <entry><code>accumulate</code></entry>
2039 <entry>26.7.3</entry>
2040 <entry><code>inner_product</code></entry>
2045 <entry>26.7.4</entry>
2046 <entry><code>partial_sum</code></entry>
2051 <entry>26.7.5</entry>
2052 <entry><code>adjacent_difference</code></entry>
2057 <entry>26.7.6</entry>
2064 <entry>C Library</entry>
2070 <emphasis>27</emphasis>
2072 <entry namest="c2" nameend="c4" align="left">
2073 <emphasis>Input/output library</emphasis>
2078 <entry>General</entry>
2084 <entry>Iostreams requirements</entry>
2089 <entry>27.2.1</entry>
2090 <entry>Imbue Limitations</entry>
2095 <entry>27.2.2</entry>
2096 <entry>Positioning Type Limitations</entry>
2101 <?dbhtml bgcolor="#B0B0B0" ?>
2102 <entry>27.2.3</entry>
2103 <entry>Thread safety</entry>
2104 <entry>Partial</entry>
2109 <entry>Forward declarations</entry>
2115 <entry>Standard iostream objects</entry>
2120 <entry>27.4.1</entry>
2121 <entry>Overview</entry>
2126 <entry>27.4.2</entry>
2127 <entry>Narrow stream objects</entry>
2132 <entry>27.4.3</entry>
2133 <entry>Wide stream objects</entry>
2138 <?dbhtml bgcolor="#B0B0B0" ?>
2140 <entry>Iostreams base classes</entry>
2141 <entry>Partial</entry>
2143 Missing move and swap operations on <code>basic_ios</code>.
2144 Missing <code>io_errc</code> and <code>iostream_category</code>.
2145 <code>ios_base::failure</code> is not derived from <code>system_error</code>.
2150 <entry>Stream buffers</entry>
2155 <?dbhtml bgcolor="#B0B0B0" ?>
2157 <entry>Formatting and manipulators</entry>
2158 <entry>Partial</entry>
2160 Missing move and swap operations
2161 Missing <code>get_time</code> and <code>put_time</code> manipulators.
2165 <?dbhtml bgcolor="#B0B0B0" ?>
2167 <entry>String-based streams</entry>
2168 <entry>Partial</entry>
2169 <entry>Missing move and swap operations</entry>
2172 <?dbhtml bgcolor="#B0B0B0" ?>
2174 <entry>File-based streams</entry>
2175 <entry>Partial</entry>
2176 <entry>Missing move and swap operations</entry>
2180 <emphasis>28</emphasis>
2182 <entry namest="c2" nameend="c4" align="left">
2183 <emphasis>Regular expressions</emphasis>
2187 <?dbhtml bgcolor="#C8B0B0" ?>
2189 <entry>General</entry>
2194 <?dbhtml bgcolor="#C8B0B0" ?>
2196 <entry>Definitions</entry>
2201 <?dbhtml bgcolor="#C8B0B0" ?>
2203 <entry>Requirements</entry>
2208 <?dbhtml bgcolor="#C8B0B0" ?>
2210 <entry>Header <code><regex></code> synopsis</entry>
2216 <entry>Namespace <code>std::regex_constants</code></entry>
2222 <entry>Class <code>regex_error</code></entry>
2227 <?dbhtml bgcolor="#B0B0B0" ?>
2229 <entry>Class template <code>regex_traits</code></entry>
2230 <entry>Partial</entry>
2234 <?dbhtml bgcolor="#B0B0B0" ?>
2236 <entry>Class template <code>basic_regex</code></entry>
2237 <entry>Partial</entry>
2241 <?dbhtml bgcolor="#B0B0B0" ?>
2243 <entry>Class template <code>sub_match</code></entry>
2244 <entry>Partial</entry>
2248 <?dbhtml bgcolor="#B0B0B0" ?>
2249 <entry>28.10</entry>
2250 <entry>Class template <code>match_results</code></entry>
2251 <entry>Partial</entry>
2255 <?dbhtml bgcolor="#C8B0B0" ?>
2256 <entry>28.11</entry>
2257 <entry>Regular expression algorithms</entry>
2262 <?dbhtml bgcolor="#C8B0B0" ?>
2263 <entry>28.12</entry>
2264 <entry>Regular expression Iterators</entry>
2269 <?dbhtml bgcolor="#C8B0B0" ?>
2270 <entry>28.13</entry>
2271 <entry>Modified ECMAScript regular expression grammar</entry>
2277 <emphasis>29</emphasis>
2279 <entry namest="c2" nameend="c4" align="left">
2280 <emphasis>Atomic operations</emphasis>
2285 <entry>General</entry>
2291 <entry>Header <code><atomic></code> synopsis</entry>
2296 <?dbhtml bgcolor="#B0B0B0" ?>
2298 <entry>Order and consistency</entry>
2299 <entry>Partial</entry>
2304 <entry>Lock-free property</entry>
2310 <entry>Atomic types</entry>
2316 <entry>Operations on atomic types</entry>
2322 <entry>Flag Type and operations</entry>
2328 <entry>Fences</entry>
2334 <emphasis>30</emphasis>
2336 <entry namest="c2" nameend="c4" align="left">
2337 <emphasis>Thread support</emphasis>
2342 <entry>General</entry>
2348 <entry>Requirements</entry>
2354 <entry>Threads</entry>
2359 <?dbhtml bgcolor="#B0B0B0" ?>
2360 <entry>30.3.1</entry>
2361 <entry>Class <code>thread</code></entry>
2362 <entry>Partial</entry>
2363 <entry><code>thread::id</code> comparisons not well-defined</entry>
2366 <entry>30.3.2</entry>
2367 <entry>Namespace <code>this_thread</code></entry>
2373 <entry>Mutual exclusion</entry>
2378 <entry>30.4.1</entry>
2379 <entry>Mutex requirements</entry>
2384 <entry>30.4.1.1</entry>
2385 <entry>In general</entry>
2390 <entry>30.4.1.2</entry>
2391 <entry>Mutex types</entry>
2396 <entry>30.4.1.2.1</entry>
2397 <entry>Class <code>mutex</code></entry>
2402 <entry>30.4.1.2.2</entry>
2403 <entry>Class <code>recursive_mutex</code></entry>
2408 <entry>30.4.1.3</entry>
2409 <entry>Timed mutex types</entry>
2411 <entry>On POSIX sytems these types are only defined if the OS
2412 supports the POSIX Timeouts option. </entry>
2415 <entry>30.4.1.3.1</entry>
2416 <entry>Class <code>timed_mutex</code></entry>
2421 <entry>30.4.1.3.2</entry>
2422 <entry>Class <code>recursive_timed_mutex</code></entry>
2427 <entry>30.4.2</entry>
2428 <entry>Locks</entry>
2433 <entry>30.4.2.1</entry>
2434 <entry>Class template <code>lock_guard</code></entry>
2439 <entry>30.4.2.2</entry>
2440 <entry>Class template <code>unique_lock</code></entry>
2445 <entry>30.4.3</entry>
2446 <entry>Generic locking algorithms</entry>
2451 <entry>30.4.4</entry>
2452 <entry>Call once</entry>
2457 <entry>30.4.4.1</entry>
2458 <entry>Struct <code>once_flag</code></entry>
2463 <entry>30.4.4.2</entry>
2464 <entry>Function <code>call_once</code></entry>
2469 <?dbhtml bgcolor="#B0B0B0" ?>
2471 <entry>Condition variables</entry>
2472 <entry>Partial</entry>
2473 <entry>Missing notify_all_at_thread_exit</entry>
2476 <entry>30.5.1</entry>
2477 <entry>Class <code>condition_variable</code></entry>
2482 <entry>30.5.2</entry>
2483 <entry>Class <code>condition_variable_any</code></entry>
2489 <entry>Futures</entry>
2494 <entry>30.6.1</entry>
2495 <entry>Overview</entry>
2500 <entry>30.6.2</entry>
2501 <entry>Error handling</entry>
2506 <entry>30.6.3</entry>
2507 <entry>Class <code>future_error</code></entry>
2512 <entry>30.6.4</entry>
2513 <entry>Shared state</entry>
2518 <?dbhtml bgcolor="#B0B0B0" ?>
2519 <entry>30.6.5</entry>
2520 <entry>Class template <code>promise</code></entry>
2521 <entry>Partial</entry>
2522 <entry>Missing set_*_at_thread_exit</entry>
2525 <?dbhtml bgcolor="#B0B0B0" ?>
2526 <entry>30.6.6</entry>
2527 <entry>Class template <code>future</code></entry>
2528 <entry>Partial</entry>
2529 <entry>Timed waiting functions do not return future_status::deferred</entry>
2532 <?dbhtml bgcolor="#B0B0B0" ?>
2533 <entry>30.6.7</entry>
2534 <entry>Class template <code>shared_future</code></entry>
2535 <entry>Partial</entry>
2536 <entry>Timed waiting functions do not return future_status::deferred</entry>
2539 <entry>30.6.8</entry>
2540 <entry>Function template <code>async</code></entry>
2545 <?dbhtml bgcolor="#B0B0B0" ?>
2546 <entry>30.6.9</entry>
2547 <entry>Class template <code>packaged_task</code></entry>
2548 <entry>Partial</entry>
2549 <entry>Missing make_ready_at_thread_exit</entry>
2553 <emphasis>Appendix D</emphasis>
2555 <entry namest="c2" nameend="c4" align="left">
2556 <emphasis>Compatibility features</emphasis>
2561 <entry>Increment operator with <code>bool</code> operand</entry>
2567 <entry><code>register</code> keyword</entry>
2573 <entry>Implicit declaration of copy functions</entry>
2579 <entry>Dynamic exception specifications</entry>
2585 <entry>C standard library headers</entry>
2591 <entry>Old iostreams members</entry>
2597 <entry><code>char*</code> streams</entry>
2603 <entry>Function objects</entry>
2609 <entry>Binders</entry>
2615 <entry><code>auto_ptr</code></entry>
2620 <?dbhtml bgcolor="#B0B0B0" ?>
2622 <entry>Violating exception-specifications</entry>
2623 <entry>Partial</entry>
2624 <entry>Missing <code>get_unexpected</code>.
2625 <code>set_unexpected</code> is not thread-safe.
2633 <section xml:id="iso.2011.specific" xreflabel="Implementation Specific"><info><title>Implementation Specific Behavior</title></info>
2635 <para>For behaviour which is also specified by the 1998 and 2003 standards,
2636 see <link linkend="iso.1998.specific">C++ 1998/2003 Implementation
2637 Specific Behavior</link>. This section only documents behaviour which
2638 is new in the 2011 standard.
2642 <emphasis>20.8.9.1.3 [func.bind.place]/1</emphasis> There are 29
2643 placeholders defined and the placeholder types are
2644 <literal>CopyAssignable</literal>.
2648 <emphasis>23.5.4.2 [unord.map.cnstr]</emphasis>,
2649 <emphasis>23.5.5.2 [unord.multimap.cnstr]</emphasis>,
2650 <emphasis>23.5.6.2 [unord.set.cnstr]</emphasis>,
2651 <emphasis>23.5.7.2 [unord.multiset.cnstr]</emphasis>
2652 The default bucket count is 10 for the default constructors
2653 and 0 for the range constructors and initializer-list constructors.
2657 <emphasis>30.2.3 [thread.req.native]/1</emphasis>
2658 <classname>native_handle_type</classname> and
2659 <methodname>native_handle</methodname> are provided. The handle types
2660 are defined in terms of the Gthreads abstraction layer.
2662 <listitem><para><classname>thread</classname>: The native handle type is
2663 a typedef for <code>__gthread_t</code> i.e. <code>pthread_t</code>
2664 when GCC is configured with the <literal>posix</literal> thread
2665 model. The value of the native handle is undefined for a thread
2666 which is not joinable.
2668 <listitem><para><classname>mutex</classname> and
2669 <classname>timed_mutex</classname>:
2670 The native handle type is <code>__gthread_mutex_t*</code> i.e.
2671 <code>pthread_mutex_t*</code> for the <literal>posix</literal>
2674 <listitem><para><classname>recursive_mutex</classname> and
2675 <classname>recursive_timed_mutex</classname>:
2676 The native handle type is <code>__gthread_recursive_mutex_t*</code>
2677 i.e. <code>pthread_mutex_t*</code> for the <literal>posix</literal>
2680 <listitem><para><classname>condition_variable</classname>: The native
2681 handle type is <code>__gthread_cond_t*</code> i.e.
2682 <code>pthread_cond_t*</code> for the <literal>posix</literal>
2689 <emphasis>30.6.1 [futures.overview]/2</emphasis>
2690 <code>launch</code> is a scoped enumeration type with
2691 overloaded operators to support bitmask operations. There are no
2692 additional bitmask elements defined.