4 <meta http-equiv=
"Content-Type" content=
"text/html; charset=utf-8">
5 <title>Clang - C++ Programming Language Status
</title>
6 <link type=
"text/css" rel=
"stylesheet" href=
"menu.css">
7 <link type=
"text/css" rel=
"stylesheet" href=
"content.css">
8 <style type=
"text/css">
9 .none { background-color: #FFCCCC }
10 .partial { background-color: #FFE0B0 }
11 .unreleased { background-color: #FFFF99 }
12 .full { background-color: #CCFF99 }
13 .na { background-color: #DDDDDD }
14 :target
{ background-color: #FFFFBB; outline: #DDDD55 solid thin
; }
15 th
{ background-color: #FFDDAA }
16 td
{ vertical-align: middle
}
17 tt
{ white-space: nowrap
}
22 <!--#include virtual="menu.html.incl"-->
26 <!--*************************************************************************-->
27 <h1>C++ Support in Clang
</h1>
28 <!--*************************************************************************-->
30 <p>Clang implements the following published and upcoming ISO C++ standards:
</p>
32 <table width=
"689" border=
"1" cellspacing=
"0">
34 <th>Language Standard
</th>
36 <th>Available in Clang?
</th>
39 <td><a href=
"#cxx26">C++
2c
</a></td>
40 <td><tt>-std=c++
2c
</tt></td>
41 <td class=
"partial" align=
"center">Partial
</td>
44 <td><a href=
"#cxx23">C++
23</a></td>
45 <td><tt>-std=c++
23</tt></td>
46 <td class=
"partial" align=
"center">Partial
</td>
49 <td><a href=
"#cxx20">C++
20</a></td>
50 <td><tt>-std=c++
20</tt></td>
51 <td class=
"partial" align=
"center">Partial
</td>
54 <td><a href=
"#cxx17">C++
17</a></td>
55 <td><tt>-std=c++
17</tt></td>
56 <td class=
"full" align=
"center">Clang
5</td>
59 <td><a href=
"#cxx14">C++
14</a></td>
60 <td><tt>-std=c++
14</tt></td>
61 <td class=
"full" align=
"center">Clang
3.4</td>
64 <td><a href=
"#cxx11">C++
11</a></td>
65 <td><tt>-std=c++
11</tt></td>
66 <td class=
"full" align=
"center">Clang
3.3</td>
69 <td><a href=
"#cxx98">C++
98 / C++
03</a></td>
70 <td><tt>-std=c++
98</tt></td>
71 <td class=
"full" align=
"center">Yes (other than
<tt>export
</tt>)
</td>
75 <p>The Clang community is continually striving to improve C++ standards
76 compliance between releases by submitting and tracking
<a
77 href=
"cxx_dr_status.html">C++ Defect Reports
</a> and implementing resolutions
78 as they become available.
</p>
80 <p>Experimental work is also under way to implement
<a href=
"#ts">C++ Technical
81 Specifications
</a> that will help drive the future of the C++ programming
84 <p>The
<a href=
"https://github.com/llvm/llvm-project/issues/">LLVM bug tracker
</a> uses
85 the
"c++" label, as well as mode-specific labels such as
"c++11",
"c++14",
86 and so on, to track known bugs with Clang's language conformance.
</p>
88 <h2 id=
"cxx26">C++
2c implementation status
</h2>
90 <!-- TODO add link to the ISO Standard after it's published. -->
91 <p>Clang has support for some of the features of the C++ standard following
92 C++
23, informally referred to as C++
26.
</p>
94 <p>You can use Clang in C++
2c mode with the
<code>-std=c++
2c
</code> option.
</p>
97 <summary>List of features and minimum Clang version with support
</summary>
98 <table width=
"689" border=
"1" cellspacing=
"0">
100 <th>Language Feature
</th>
101 <th>C++
26 Proposal
</th>
102 <th>Available in Clang?
</th>
104 <!-- Spring 2023 papers (Varna) -->
106 <td>Remove undefined behavior from lexing
</td>
107 <td><a href=
"https://wg21.link/P2621R2">P2621R2
</a> (
<a href=
"#dr">DR
</a>)
</td>
108 <td class=
"full" align=
"center">Clang
3.3</td>
111 <td>Making non-encodable string literals ill-formed
</td>
112 <td><a href=
"https://wg21.link/P1854R4">P1854R4
</a> (
<a href=
"#dr">DR
</a>)
</td>
113 <td class=
"full" align=
"center">Clang
14</td>
116 <td>Unevaluated strings
</td>
117 <td><a href=
"https://wg21.link/P2361R6">P2361R6
</a></td>
118 <td class=
"full" align=
"center">Clang
18</td>
121 <td>Add @, $, and ` to the basic character set
</td>
122 <td><a href=
"https://wg21.link/P2558R2">P2558R2
</a></td>
123 <td class=
"full" align=
"center">Yes
</td>
126 <td>constexpr cast from
<tt>void*
</tt></td>
127 <td><a href=
"https://wg21.link/P2738R1">P2738R1
</a></td>
128 <td class=
"full" align=
"center">Clang
17</td>
131 <td>On the ignorability of standard attributes
</td>
132 <td><a href=
"https://wg21.link/P2552R3">P2552R3
</a> (
<a href=
"#dr">DR
</a>)
</td>
133 <td class=
"full" align=
"center">Yes
</td>
136 <td>Static storage for braced initializers
</td>
137 <td><a href=
"https://wg21.link/P2752R3">P2752R3
</a> (
<a href=
"#dr">DR
</a>)
</td>
138 <td class=
"none" align=
"center">No
</td>
141 <td>User-generated
<tt>static_assert
</tt> messages
</td>
142 <td><a href=
"https://wg21.link/P2741R3">P2741R3
</a></td>
143 <td class=
"full" align=
"center">Clang
17</td>
146 <td>Placeholder variables with no name
</td>
147 <td><a href=
"https://wg21.link/P2169R4">P2169R4
</a></td>
148 <td class=
"full" align=
"center">Clang
18</td>
150 <!-- Fall 2023 papers (Kona) -->
152 <td>Template parameter initialization
</td>
153 <td><a href=
"https://wg21.link/P2308R1">P2308R1
</a> (
<a href=
"#dr">DR
</a>)
</td>
154 <td class=
"full" align=
"center">Clang
18</td>
157 <td>Pack Indexing
</td>
158 <td><a href=
"https://wg21.link/P2662R3">P2662R3
</a></td>
159 <td class=
"full" align=
"center">Clang
19</td>
162 <td>Remove Deprecated Arithmetic Conversion on Enumerations
</td>
163 <td><a href=
"https://wg21.link/P2864R2">P2864R2
</a></td>
164 <td class=
"full" align=
"center">Clang
18</td>
166 <!-- Winter 2024 papers (Tokyo) -->
168 <td>Disallow Binding a Returned Glvalue to a Temporary
</td>
169 <td><a href=
"https://wg21.link/P2748R5">P2748R5
</a></td>
170 <td class=
"full" align=
"center">Clang
19</td>
173 <td>Clarifying rules for brace elision in aggregate initialization
</td>
174 <td><a href=
"https://wg21.link/P3106R1">P3106R1
</a> (
<a href=
"#dr">DR
</a>)
</td>
175 <td class=
"full" align=
"center">Clang
17</td>
178 <td>Attributes for Structured Bindings
</td>
179 <td><a href=
"https://wg21.link/P0609R3">P0609R3
</a></td>
180 <td class=
"full" align=
"center">Clang
19</td>
183 <td>Module Declarations Shouldn’t be Macros
</td>
184 <td><a href=
"https://wg21.link/P3034R1">P3034R1
</a> (
<a href=
"#dr">DR
</a>)
</td>
185 <td class=
"none" align=
"center">No
</td>
188 <td>Trivial infinite loops are not Undefined Behavior
</td>
189 <td><a href=
"https://wg21.link/P2809R3">P2809R3
</a> (
<a href=
"#dr">DR
</a>)
</td>
190 <td class=
"full" align=
"center">Clang
19</td>
193 <td>Erroneous behaviour for uninitialized reads
</td>
194 <td><a href=
"https://wg21.link/P2795R5">P2795R5
</a></td>
195 <td class=
"none" align=
"center">No
</td>
198 <td><tt>= delete(
"should have a reason");
</tt></td>
199 <td><a href=
"https://wg21.link/P2573R2">P2573R2
</a></td>
200 <td class=
"full" align=
"center">Clang
19</td>
203 <td>Variadic friends
</td>
204 <td><a href=
"https://wg21.link/P2893R3">P2893R3
</a></td>
205 <td class=
"unreleased" align=
"center">Clang
20</td>
207 <!-- Summer 2024 papers (St Louis) -->
209 <td><tt>constexpr
</tt> placement new
</td>
210 <td><a href=
"https://wg21.link/P2747R2">P2747R2
</a></td>
211 <td class=
"unreleased" align=
"center">Clang
20</td>
214 <td>Deleting a Pointer to an Incomplete Type Should be Ill-formed
</td>
215 <td><a href=
"https://wg21.link/P3144">P3144R2
</a></td>
216 <td class=
"full" align=
"center">Clang
19</td>
219 <td>Ordering of constraints involving fold expressions
</td>
220 <td><a href=
"https://wg21.link/P2963R3">P2963R3
</a></td>
221 <td class=
"full" align=
"center">Clang
19</td>
224 <td>Structured binding declaration as a condition
</td>
225 <td><a href=
"https://wg21.link/P0963R3">P0963R3
</a></td>
226 <td class=
"none" align=
"center">No
</td>
231 <h2 id=
"cxx23">C++
23 implementation status
</h2>
233 <!-- TODO add link to the ISO Standard after it's published. -->
234 <p>Clang has support for some of the features of the ISO C++
2023 standard.
</p>
236 <p>You can use Clang in C++
23 mode with the
<code>-std=c++
23</code> option.
</p>
239 <summary>List of features and minimum Clang version with support
</summary>
241 <table width=
"689" border=
"1" cellspacing=
"0">
243 <th>Language Feature
</th>
244 <th>C++
23 Proposal
</th>
245 <th>Available in Clang?
</th>
247 <!-- Fall 2020 papers -->
249 <td>Literal suffix
<tt>uz
</tt>,
<tt>z
</tt> for
<tt>size_t
</tt>,
<tt>ssize_t
</tt></td>
250 <td><a href=
"https://wg21.link/p0330r8">P0330R8
</a></td>
251 <td class=
"full" align=
"center">Clang
13</td>
253 <!-- Spring 2021 papers -->
255 <td>Make
<tt>()
</tt> in lambdas optional in all cases
</td>
256 <td><a href=
"https://wg21.link/p1102r2">P1102R2
</a></td>
257 <td class=
"full" align=
"center">Clang
13</td>
260 <td>Simpler implicit move
</td>
261 <td><a href=
"https://wg21.link/p2266R3">P2266R3
</a></td>
262 <td class=
"full" align=
"center">Clang
13</td>
265 <td><tt>if consteval
</tt></td>
266 <td><a href=
"https://wg21.link/P1938R3">P1938R3
</a></td>
267 <td class=
"full" align=
"center">Clang
14</td>
270 <td>Allow duplicate attributes
</td>
271 <td><a href=
"https://wg21.link/P2156R1">P2156R1
</a> (
<a href=
"#dr">DR
</a>)
</td>
272 <td class=
"full" align=
"center">Clang
13</td>
275 <td>Narrowing contextual conversions to bool
</td>
276 <td><a href=
"https://wg21.link/P1401R5">P1401R5
</a></td>
277 <td class=
"full" align=
"center">Clang
14</td>
280 <td>Trimming whitespaces before line splicing
</td>
281 <td><a href=
"https://wg21.link/P2223R2">P2223R2
</a></td>
282 <td class=
"full" align=
"center">Yes
</td>
285 <td>Make declaration order layout mandated
</td>
286 <td><a href=
"https://wg21.link/p1847r4">P1874R4
</a></td>
287 <td class=
"full" align=
"center">Yes
</td>
290 <td>C++ identifier syntax using UAX
31</td>
291 <td><a href=
"https://wg21.link/P1949R7">P1949R7
</a> (
<a href=
"#dr">DR
</a>)
</td>
292 <td class=
"full" align=
"center">Clang
14</td>
295 <td>Mixed string literal concatenation
</td>
296 <td><a href=
"https://wg21.link/p2201r1">P2201R1
</a></td>
297 <td class=
"full" align=
"center">Yes
</td>
299 <!-- October 2021 papers -->
301 <td rowspan=
2>Deducing this
</td>
302 <td><a href=
"https://wg21.link/P0847R7">P0847R7
</a></td>
303 <td class=
"full" align=
"center">Clang
18</td>
306 <td><a href=
"https://wg21.link/P2797R0">P2797R0
</a></td>
307 <td class=
"full" align=
"center">Clang
19</td>
310 <td rowspan=
2>Change scope of lambda trailing-return-type
</td>
311 <td><a href=
"https://wg21.link/P2036R3">P2036R3
</a> (
<a href=
"#dr">DR
</a>)
</td>
312 <td rowspan=
2 class=
"full" align=
"center">Clang
17</td>
315 <td><a href=
"https://wg21.link/P2579R0">P2579R0
</a> (
<a href=
"#dr">DR
</a>)
</td>
318 <td>Multidimensional subscript operator
</td>
319 <td><a href=
"https://wg21.link/P2128R6">P2128R6
</a></td>
320 <td class=
"full" align=
"center">Clang
15</td>
323 <td>Non-literal variables (and labels and gotos) in constexpr functions
</td>
324 <td><a href=
"https://wg21.link/P2242R3">P2242R3
</a></td>
325 <td class=
"full" align=
"center">Clang
15</td>
328 <td>Character encoding of diagnostic text
</td>
329 <td><a href=
"https://wg21.link/P2246R1">P2246R1
</a></td>
330 <td class=
"full" align=
"center">Yes
</td>
333 <td>Character sets and encodings
</td>
334 <td><a href=
"https://wg21.link/P2314R4">P2314R4
</a></td>
335 <td class=
"full" align=
"center">Yes
</td>
338 <td>Consistent character literal encoding
</td>
339 <td><a href=
"https://wg21.link/P2316R2">P2316R2
</a></td>
340 <td class=
"full" align=
"center">Yes
</td>
343 <td>Add support for preprocessing directives elifdef and elifndef
</td>
344 <td><a href=
"https://wg21.link/P2334R1">P2334R1
</a></td>
345 <td class=
"full" align=
"center">Clang
13</td>
348 <td>Extend init-statement to allow alias-declaration
</td>
349 <td><a href=
"https://wg21.link/P2360R0">P2360R0
</a></td>
350 <td class=
"full" align=
"center">Clang
14</td>
353 <td>auto(x): decay-copy in the language
</td>
354 <td><a href=
"https://wg21.link/P0849R8">P0849R8
</a></td>
355 <td class=
"full" align=
"center">Clang
15</td>
357 <!-- February 2022 papers -->
359 <td>Attributes on Lambda-Expressions
</td>
360 <td><a href=
"https://wg21.link/P2173R1">P2173R1
</a></td>
361 <td class=
"full" align=
"center">Clang
13</td>
364 <td><tt>constexpr
</tt> for
<tt><cmath
></tt> and
<tt><cstdlib
></tt></td>
365 <td><a href=
"https://wg21.link/P0533R9">P0533R9
</a></td>
366 <td class=
"none" align=
"center">No
</td>
369 <td>Type trait to determine if a reference binds to a temporary
</td>
370 <td><a href=
"https://wg21.link/P2255R2">P2255R2
</a></td>
371 <td class=
"full" align=
"center">Clang
19</td>
373 <!-- July 2022 papers -->
375 <td>The Equality Operator You Are Looking For
</td>
376 <td><a href=
"https://wg21.link/P2468R2">P2468R2
</a> (
<a href=
"#dr">DR
</a>)
</td>
377 <td class=
"full" align=
"center">Clang
16</td>
380 <td>De-deprecating volatile compound operations
</td>
381 <td><a href=
"https://wg21.link/P2327R1">P2327R1
</a> (
<a href=
"#dr">DR
</a>)
</td>
382 <td class=
"full" align=
"center">Clang
15</td>
385 <td>Support for
<code>#warning
</code></td>
386 <td><a href=
"https://wg21.link/P2437R1">P2437R1
</a></td>
387 <td class=
"full" align=
"center">Yes
</td>
390 <td>Remove non-encodable wide character literals and multicharacter wide character literals
</td>
391 <td><a href=
"https://wg21.link/P2362R3">P2362R3
</a></td>
392 <td class=
"full" align=
"center">Clang
14</td>
395 <td>Labels at the end of compound statements
</td>
396 <td><a href=
"https://wg21.link/P2324R2">P2324R2
</a></td>
397 <td class=
"full" align=
"center">Clang
16</td>
400 <td>Delimited escape sequences
</td>
401 <td><a href=
"https://wg21.link/P2290R3">P2290R3
</a></td>
402 <td class=
"full" align=
"center">Clang
15</td>
405 <td>Named universal character escapes
</td>
406 <td><a href=
"https://wg21.link/P2071R2">P2071R2
</a></td>
407 <td class=
"full" align=
"center">Clang
15</td>
410 <td>Relaxing some constexpr restrictions
</td>
411 <td><a href=
"https://wg21.link/P2448R2">P2448R2
</a></td>
412 <td class=
"full" align=
"center">Clang
19</td>
415 <td>Using unknown pointers and references in constant expressions
</td>
416 <td><a href=
"https://wg21.link/P2280R4">P2280R4
</a> (
<a href=
"#dr">DR
</a>)
</td>
417 <td class=
"none" align=
"center">No
</td>
420 <td>static
<code>operator()
</code></td>
421 <td><a href=
"https://wg21.link/P1169R4">P1169R4
</a></td>
422 <td class=
"full" align=
"center">Clang
16</td>
425 <td>Extended floating-point types and standard names
</td>
426 <td><a href=
"https://wg21.link/P1467R9">P1467R9
</a></td>
427 <td class=
"none" align=
"center">No
</td>
430 <td>Class template argument deduction from inherited constructors
</td>
431 <td><a href=
"https://wg21.link/P2582R1">P2582R1
</a></td>
432 <td class=
"none" align=
"center">No
</td>
435 <td>Portable assumptions
</td>
436 <td><a href=
"https://wg21.link/P1774R8">P1774R8
</a></td>
437 <td class=
"full" align=
"center">Clang
19</td>
440 <td>Support for UTF-
8 as a portable source file encoding
</td>
441 <td><a href=
"https://wg21.link/P2295R6">P2295R6
</a></td>
442 <td class=
"full" align=
"center">Clang
15</td>
445 <td><code>char8_t
</code> Compatibility and Portability Fix
</td>
446 <td><a href=
"https://wg21.link/P2513R3">P2513R3
</a> (
<a href=
"#dr">DR
</a>)
</td>
447 <td class=
"full" align=
"center">Clang
16</td>
450 <td>Relax requirements on
<code>wchar_t
</code> to match existing practices
</td>
451 <td><a href=
"https://wg21.link/P2460R2">P2460R2
</a> (
<a href=
"#dr">DR
</a>)
</td>
452 <td class=
"full" align=
"center">Yes
</td>
455 <td>Explicit lifetime management
</td>
456 <td><a href=
"https://wg21.link/P2590R2">P2590R2
</a></td>
457 <td class=
"none" align=
"center">No
</td>
459 <!-- November 2022 (Kona) papers -->
461 <td>static
<code>operator[]
</code></td>
462 <td><a href=
"https://wg21.link/P2589R1">P2589R1
</a></td>
463 <td class=
"full" align=
"center">Clang
16</td>
466 <td>Permitting static constexpr variables in constexpr functions
</td>
467 <td><a href=
"https://wg21.link/P2647R1">P2647R1
</a></td>
468 <td class=
"full" align=
"center">Clang
16</td>
471 <td>consteval needs to propagate up
</td>
472 <td><a href=
"https://wg21.link/P2564R3">P2564R3
</a> (
<a href=
"#dr">DR
</a>)
</td>
473 <td class=
"full" align=
"center">Clang
17</td>
476 <td>Lifetime extension in range-based for loops
</td>
477 <td><a href=
"https://wg21.link/P2718R0">P2718R0
</a></td>
478 <td class=
"full" align=
"center">Clang
20</td>
480 <!--Issaquah 2023 papers-->
482 <td>Referencing The Unicode Standard
</td>
483 <td><a href=
"https://wg21.link/P2736R2">P2736R2
</a></td>
484 <td class=
"full" align=
"center">Yes
</td>
490 <h2 id=
"cxx20">C++
20 implementation status
</h2>
492 <p>Clang has support for some of the features of the
493 <a href=
"https://www.iso.org/standard/79358.html">ISO C++
2020 standard
</a>.
</p>
495 <p>You can use Clang in C++
20 mode with the
<code>-std=c++
20</code> option
496 (use
<code>-std=c++
2a
</code> in Clang
9 and earlier).
</p>
499 <summary>List of features and minimum Clang version with support
</summary>
501 <table width=
"689" border=
"1" cellspacing=
"0">
503 <th>Language Feature
</th>
504 <th>C++
20 Proposal
</th>
505 <th>Available in Clang?
</th>
507 <!-- Toronto 2017 papers -->
509 <td>Default member initializers for bit-fields
</td>
510 <td><a href=
"https://wg21.link/p0683r1">P0683R1
</a></td>
511 <td class=
"full" align=
"center">Clang
6</td>
514 <td><tt>const
&</tt>-qualified pointers to members
</td>
515 <td><a href=
"https://wg21.link/p0704r1">P0704R1
</a></td>
516 <td class=
"full" align=
"center">Clang
6</td>
519 <td>Allow
<i>lambda-capture
</i> <tt>[=, this]
</tt></td>
520 <td><a href=
"https://wg21.link/p0409r2">P0409R2
</a></td>
521 <td class=
"full" align=
"center">Clang
6</td>
524 <td rowspan=
"2"><tt>__VA_OPT__
</tt> for preprocessor comma elision
</td>
525 <td><a href=
"https://wg21.link/p0306r4">P0306R4
</a></td>
526 <td class=
"full" align=
"center">Clang
6</td>
528 <tr> <!-- from Rapperswil -->
529 <td><a href=
"https://wg21.link/p1042r1">P1042R1
</a></td>
530 <td class=
"full" align=
"center">Clang
9</td>
533 <td>Designated initializers
</td>
534 <td><a href=
"https://wg21.link/p0329r4">P0329R4
</a></td>
535 <td class=
"full" align=
"center">Clang
10</td>
538 <td><i>template-parameter-list
</i> for generic lambdas
</td>
539 <td><a href=
"https://wg21.link/p0428r2">P0428R2
</a></td>
540 <td class=
"full" align=
"center">Clang
9</td>
543 <td rowspan=
"13">Concepts
</td>
544 <td><a href=
"https://wg21.link/p0734r0">P0734R0
</a></td>
545 <td class=
"full" align=
"center">Clang
10</td>
547 <tr> <!-- from Albuquerque -->
548 <td><a href=
"https://wg21.link/p0857r0">P0857R0
</a></td>
549 <td rowspan=
"1" class=
"full" align=
"center">Clang
16</td>
551 <tr> <!-- from San Diego -->
552 <td><a href=
"https://wg21.link/p1084r2">P1084R2
</a></td>
553 <td rowspan=
"2" class=
"full" align=
"center">Clang
10</td>
556 <td><a href=
"https://wg21.link/p1141r2">P1141R2
</a></td>
558 <tr> <!-- from Cologne -->
559 <td><a href=
"https://wg21.link/p0848r3">P0848R3
</a></td>
560 <td rowspan=
"1" class=
"full" align=
"center">Clang
19</td>
563 <td><a href=
"https://wg21.link/p1616r1">P1616R1
</a></td>
564 <td rowspan=
"2" class=
"full" align=
"center">Clang
10</td>
567 <td><a href=
"https://wg21.link/p1452r2">P1452R2
</a></td>
569 <tr> <!-- from Belfast -->
570 <td><a href=
"https://wg21.link/p1972r0">P1972R0
</a></td>
571 <td rowspan=
"4" class=
"full" align=
"center">Clang
10</td>
574 <td><a href=
"https://wg21.link/p1980r0">P1980R0
</a></td>
576 <tr> <!-- from Prague -->
577 <td><a href=
"https://wg21.link/p2103r0">P2103R0
</a></td>
579 <tr> <!-- from February 2022 -->
580 <td><a href=
"https://wg21.link/p2493r0">P2493R0
</a> (
<a href=
"#dr">DR
</a>)
</td>
583 <td><a href=
"https://wg21.link/p2092r0">P2092R0
</a></td>
584 <td rowspan=
"1" class=
"full" align=
"center">Clang
16</td>
587 <td><a href=
"https://wg21.link/p2113r0">P2113R0
</a></td>
588 <td rowspan=
"1" class=
"full" align=
"center">Clang
16</td>
590 <!-- Albuquerque papers -->
592 <td>Range-based for statements with initializer
</td>
593 <td><a href=
"https://wg21.link/p0614r1">P0614R1
</a></td>
594 <td class=
"full" align=
"center">Clang
8</td>
597 <td>ADL and function templates that are not visible
</td>
598 <td><a href=
"https://wg21.link/p0846r0">P0846R0
</a></td>
599 <td class=
"full" align=
"center">Clang
9</td>
602 <td><tt>const
</tt> mismatch with defaulted copy constructor
</td>
603 <td><a href=
"https://wg21.link/p0641r2">P0641R2
</a></td>
604 <td class=
"full" align=
"center">Clang
8</td>
607 <td rowspan=
"10">Consistent comparison (
<tt>operator
<=
></tt>)
</td>
608 <td><a href=
"https://wg21.link/p0515r3">P0515R3
</a></td>
609 <td rowspan=
"8" class=
"full" align=
"center">Clang
10</td>
611 <tr> <!-- from Jacksonville -->
612 <td><a href=
"https://wg21.link/p0905r1">P0905R1
</a></td>
614 <tr> <!-- from Rapperswil -->
615 <td><a href=
"https://wg21.link/p1120r0">P1120R0
</a></td>
617 <tr> <!-- from Kona 2019 -->
618 <td><a href=
"https://wg21.link/p1185r2">P1185R2
</a></td>
620 <tr> <!-- from Cologne -->
621 <td><a href=
"https://wg21.link/p1186r3">P1186R3
</a></td>
624 <td><a href=
"https://wg21.link/p1630r1">P1630R1
</a></td>
626 <tr> <!-- from Belfast -->
627 <td><a href=
"https://wg21.link/p1946r0">P1946R0
</a></td>
630 <td><a href=
"https://wg21.link/p1959r0">P1959R0
</a></td>
632 <tr> <!-- from Prague -->
633 <td><a href=
"https://wg21.link/p2002r1">P2002R1
</a></td>
634 <td class=
"full" align=
"center">Clang
17</td>
637 <td><a href=
"https://wg21.link/p2085r0">P2085R0
</a></td>
638 <td class=
"full" align=
"center">Clang
14</td>
641 <td>Access checking on specializations
</td>
642 <td><a href=
"https://wg21.link/p0692r1">P0692R1
</a></td>
643 <td class=
"full" align=
"center">Clang
14</td>
646 <td>Default constructible and assignable stateless lambdas
</td>
647 <td><a href=
"https://wg21.link/p0624r2">P0624R2
</a></td>
648 <td class=
"full" align=
"center">Clang
8</td>
651 <td>Lambdas in unevaluated contexts
</td>
652 <td><a href=
"https://wg21.link/p0315r4">P0315R4
</a></td>
653 <td class=
"full" align=
"center">Clang
17</td>
655 <!-- Jacksonville papers -->
657 <td><tt>[[no_unique_address]]
</tt> attribute
</td>
658 <td><a href=
"https://wg21.link/p0840r2">P0840R2
</a></td>
659 <td class=
"full" align=
"center">Clang
9</td>
662 <td><tt>[[likely]]
</tt> and
<tt>[[unlikely]]
</tt> attributes
</td>
663 <td><a href=
"https://wg21.link/p0479r5">P0479R5
</a></td>
664 <td class=
"full" align=
"center">Clang
12</td>
667 <td><tt>typename
</tt> optional in more contexts
</td>
668 <td><a href=
"https://wg21.link/p0634r3">P0634R3
</a></td>
669 <td class=
"full" align=
"center">Clang
16</td>
672 <td>Pack expansion in lambda
<i>init-capture
</i></td>
673 <td><a href=
"https://wg21.link/p0780r2">P0780R2
</a></td>
674 <td class=
"full" align=
"center">Clang
9</td>
676 <!-- Rapperswil papers -->
678 <td>Class types as non-type template parameters
</td>
679 <td><a href=
"https://wg21.link/p0732r2">P0732R2
</a></td>
680 <td class=
"full" align=
"center">Clang
12</td>
682 <tr> <!-- from Belfast -->
683 <td>Generalized non-type template parameters of scalar type
</td>
684 <td><a href=
"https://wg21.link/p1907r1">P1907R1
</a></td>
685 <td class=
"partial" align=
"center">
687 <summary>Clang
18 (Partial)
</summary>
688 Reference type template arguments referring to instantiation-dependent objects and subobjects
689 (i.e. declared inside a template but neither type- nor value-dependent) aren't fully supported.
694 <td>Destroying operator delete
</td>
695 <td><a href=
"https://wg21.link/p0722r3">P0722R3
</a></td>
696 <td class=
"full" align=
"center">Clang
6</td>
699 <td rowspan=
"7">Relaxations of
<tt>constexpr
</tt> restrictions
</td>
700 <td><a href=
"https://wg21.link/p1064r0">P1064R0
</a></td>
701 <td class=
"full" align=
"center">Clang
9</td>
703 <tr> <!-- from San Diego -->
704 <td><a href=
"https://wg21.link/p1002r1">P1002R1
</a></td>
705 <td class=
"full" align=
"center">Clang
8</td>
708 <td><a href=
"https://wg21.link/p1327r1">P1327R1
</a></td>
709 <td rowspan=
"2" class=
"full" align=
"center">Clang
9</td>
712 <td><a href=
"https://wg21.link/p1330r0">P1330R0
</a></td>
714 <tr> <!-- from Cologne -->
715 <td><a href=
"https://wg21.link/p1331r2">P1331R2
</a></td>
716 <td rowspan=
"3" class=
"full" align=
"center">Clang
10</td>
719 <td><a href=
"https://wg21.link/p1668r1">P1668R1
</a></td>
722 <td><a href=
"https://wg21.link/p0784r7">P0784R7
</a></td>
725 <td>Prohibit aggregates with user-declared constructors
</td>
726 <td><a href=
"https://wg21.link/p1008r1">P1008R1
</a></td>
727 <td class=
"full" align=
"center">Clang
8</td>
730 <td>Feature test macros
</td>
731 <td><a href=
"https://wg21.link/p0941r2">P0941R2
</a></td>
732 <td class=
"full" align=
"center"><a href=
"#sd6">(see below)
</a></td>
735 <td><tt>explicit(bool)
</tt></td>
736 <td><a href=
"https://wg21.link/p0892r2">P0892R2
</a></td>
737 <td class=
"full" align=
"center">Clang
9</td>
739 <!-- San Diego papers -->
741 <td>Signed integers are two's complement
</td>
742 <td><a href=
"https://wg21.link/p1236r1">P1236R1
</a></td>
743 <td class=
"full" align=
"center">Clang
9</td>
746 <td><tt>char8_t
</tt></td>
747 <td><a href=
"https://wg21.link/p0482r6">P0482R6
</a></td>
748 <td class=
"full" align=
"center">Clang
7 <a href=
"#p0482">(
11)
</a></td>
751 <td rowspan=
2>Immediate functions (
<tt>consteval
</tt>)
</td>
752 <td><a href=
"https://wg21.link/p1073r3">P1073R3
</a></td>
753 <td class=
"full" align=
"center">Clang
17</td>
755 <tr> <!-- from Prague -->
756 <td><a href=
"https://wg21.link/p1937r2">P1937R2
</a></td>
757 <td class=
"full" align=
"center">Clang
14</td>
760 <td><tt>std::is_constant_evaluated
</tt></td>
761 <td><a href=
"https://wg21.link/p0595r2">P0595R2
</a></td>
762 <td class=
"full" align=
"center">Clang
9</td>
765 <td>Nested inline namespaces
</td>
766 <td><a href=
"https://wg21.link/p1094r2">P1094R2
</a></td>
767 <td class=
"full" align=
"center">Clang
8</td>
769 <!-- Kona 2019 papers -->
771 <td rowspan=
"2">Structured binding extensions
</td>
772 <td><a href=
"https://wg21.link/p1091r3">P1091R3
</a></td>
773 <td rowspan=
"2" class=
"full" align=
"center">Clang
16</td>
776 <td><a href=
"https://wg21.link/p1381r1">P1381R1
</a></td>
779 <td rowspan=
"2">Stronger Unicode requirements
</td>
780 <td><a href=
"https://wg21.link/p1041r4">P1041R4
</a></td>
781 <td rowspan=
"2" class=
"full" align=
"center">Yes
</td>
784 <td><a href=
"https://wg21.link/p1139r2">P1139R2
</a></td>
787 <td rowspan=
"2">Parenthesized initialization of aggregates
</td>
788 <td><a href=
"https://wg21.link/p0960r3">P0960R3
</a></td>
789 <td rowspan=
"2" class=
"full" align=
"center">Clang
16</td>
791 <tr> <!-- from Belfast -->
792 <td><a href=
"https://wg21.link/p1975r0">P1975R0
</a></td>
795 <td rowspan=
"12">Modules
</td>
796 <td><a href=
"https://wg21.link/p1103r3">P1103R3
</a></td>
797 <td class=
"full" align=
"center">Clang
15</td>
799 <tr> <!-- from Cologne -->
800 <td><a href=
"https://wg21.link/p1766r1">P1766R1
</a> (
<a href=
"#dr">DR
</a>)
</td>
801 <td class=
"full" align=
"center">Clang
11</td>
804 <td><a href=
"https://wg21.link/p1811r0">P1811R0
</a></td>
805 <td class=
"none" align=
"center">No
</td>
808 <td><a href=
"https://wg21.link/p1703r1">P1703R1
</a></td>
809 <td class=
"none" align=
"center">Subsumed by P1857
</td>
811 <tr> <!-- from Belfast -->
812 <td><a href=
"https://wg21.link/p1874r1">P1874R1
</a></td>
813 <td class=
"full" align=
"center">Clang
15</td>
815 <tr> <!-- from Belfast -->
816 <td><a href=
"https://wg21.link/p1979r0">P1979R0
</a></td>
817 <td class=
"none" align=
"center">No
</td>
819 <tr> <!-- from Prague -->
820 <td><a href=
"https://wg21.link/p1779r3">P1779R3
</a></td>
821 <td class=
"full" align=
"center">Clang
15</td>
824 <td><a href=
"https://wg21.link/p1857r3">P1857R3
</a></td>
825 <td class=
"none" align=
"center">No
</td>
828 <td><a href=
"https://wg21.link/p2115r0">P2115R0
</a></td>
829 <td class=
"partial" align=
"center">Partial
</td>
832 <td><a href=
"https://wg21.link/p1815r2">P1815R2
</a></td>
833 <td class=
"partial" align=
"center">Partial
</td>
835 <tr> <!-- from Kona 2022 -->
836 <td><a href=
"https://wg21.link/P2615R1">P2615R1
</a> (
<a href=
"#dr">DR
</a>)
</td>
837 <td class=
"none" align=
"center">No
</td>
839 <tr> <!-- from Issaquah 2023 -->
840 <td><a href=
"https://wg21.link/P2788R0">P2788R0
</a> (
<a href=
"#dr">DR
</a>)
</td>
841 <td class=
"none" align=
"center">No
</td>
845 <td><a href=
"https://wg21.link/p0912r5">P0912R5
</a></td>
846 <td class=
"partial" align=
"center">
847 <details><summary>Partial
</summary>
848 Fully supported on all targets except Windows, which
849 still has some stability and ABI issues.
852 <!-- Cologne 2019 papers -->
854 <td>Deprecate
<tt>a[b,c]
</tt></td>
855 <td><a href=
"https://wg21.link/p1161r3">P1161R3
</a></td>
856 <td class=
"full" align=
"center">Clang
9</td>
859 <td>Deprecate some problematic uses of
<tt>volatile
</tt></td>
860 <td><a href=
"https://wg21.link/p1152r4">P1152R4
</a></td>
861 <td class=
"full" align=
"center">Clang
10</td>
864 <td><tt>[[nodiscard(
"with reason")]]
</tt></td>
865 <td><a href=
"https://wg21.link/p1301r4">P1301R4
</a></td>
866 <td class=
"full" align=
"center">Clang
9</td>
869 <td><tt>using enum
</tt></td>
870 <td><a href=
"https://wg21.link/p1099r5">P1099R5
</a></td>
871 <td class=
"full" align=
"center">Clang
13</td>
874 <td rowspan=
2>Class template argument deduction for aggregates
</td>
875 <td><a href=
"https://wg21.link/p1816r0">P1816R0
</a></td>
876 <td rowspan=
2 class=
"full" align=
"center">Clang
17</td>
878 <tr> <!-- from Prague -->
879 <td><a href=
"https://wg21.link/p2082r1">P2082R1
</a></td>
882 <td>Class template argument deduction for alias templates
</td>
883 <td><a href=
"https://wg21.link/p1814r0">P1814R0
</a></td>
884 <td class=
"partial" align=
"center">
886 <summary>Clang
19 (Partial)
</summary>
887 This feature has been initially completed, but the feature macro
888 __cpp_deduction_guides has not been updated.
893 <td>Permit conversions to arrays of unknown bound
</td>
894 <td><a href=
"https://wg21.link/p0388r4">P0388R4
</a></td>
895 <td class=
"full" align=
"center">Clang
14</td>
898 <td><tt>constinit
</tt></td>
899 <td><a href=
"https://wg21.link/p1143r2">P1143R2
</a></td>
900 <td class=
"full" align=
"center">Clang
10</td>
902 <!-- Prague 2019 papers -->
904 <td>Pseudo-destructors end object lifetimes
</td>
905 <td><a href=
"https://wg21.link/p0593r6">P0593R6
</a> (
<a href=
"#dr">DR
</a>)
</td>
906 <td class=
"full" align=
"center">Clang
11</td>
909 <td>More implicit moves
</td>
910 <td><a href=
"https://wg21.link/p1825r0">P1825R0
</a> (
<a href=
"#dr">DR
</a>)
</td>
911 <td class=
"full" align=
"center">Clang
13</td>
916 <span id=
"p0482">(
11): Prior to Clang
8, this feature is not enabled by
917 <tt>-std=c++
20</tt>, but can be enabled with
<tt>-fchar8_t
</tt>.
923 <h2 id=
"cxx17">C++
17 implementation status
</h2>
925 <p>Clang
5 and later implement all the features of the
926 <a href=
"https://www.iso.org/standard/68564.html">ISO C++
2017 standard
</a>.
</p>
928 <p>By default, Clang
16 or later builds C++ code according to the C++
17 standard.
929 You can use Clang in C++
17 mode with the
<code>-std=c++
17</code> option
930 (use
<code>-std=c++
1z
</code> in Clang
4 and earlier).
</p>
933 <summary>List of features and minimum Clang version with support
</summary>
935 <table width=
"689" border=
"1" cellspacing=
"0">
937 <th>Language Feature
</th>
938 <th>C++
17 Proposal
</th>
939 <th>Available in Clang?
</th>
941 <!-- Issaquah 2014 papers -->
943 <td><tt>static_assert
</tt> with no message
</td>
944 <td><a href=
"https://wg21.link/n3928">N3928
</a></td>
945 <td class=
"full" align=
"center">Clang
3.5</td>
947 <!-- Rapperswil papers -->
949 <td>Disabling trigraph expansion by default
</td>
950 <td><a href=
"https://wg21.link/n4086">N4086
</a></td>
951 <td class=
"full" align=
"center">Clang
3.5</td>
954 <td><tt>typename
</tt> in a template template parameter
</td>
955 <td><a href=
"https://wg21.link/n4051">N4051
</a></td>
956 <td class=
"full" align=
"center">Clang
3.5</td>
959 <td>New
<tt>auto
</tt> rules for direct-list-initialization
960 <td><a href=
"https://wg21.link/n3922">N3922
</a></td>
961 <td class=
"full" align=
"center">Clang
3.8 <a href=
"#n3922">(
8)
</a></td>
963 <!-- Urbana papers -->
965 <td rowspan=
"2">Fold expressions
</td>
966 <td><a href=
"https://wg21.link/n4295">N4295
</a></td>
967 <td class=
"full" align=
"center">Clang
3.6</td>
969 <tr> <!-- from Jacksonville -->
970 <td><a href=
"https://wg21.link/p0036r0">P0036R0
</a></td>
971 <td class=
"full" align=
"center">Clang
3.9</td>
974 <td><tt>u8
</tt> character literals
</td>
975 <td><a href=
"https://wg21.link/n4267">N4267
</a></td>
976 <td class=
"full" align=
"center">Clang
3.6</td>
979 <td>Nested namespace definition
</td>
980 <td><a href=
"https://wg21.link/n4230">N4230
</a></td>
981 <td class=
"full" align=
"center">Clang
3.6</td>
984 <td>Attributes for namespaces and enumerators
</td>
985 <td><a href=
"https://wg21.link/n4266">N4266
</a></td>
986 <td class=
"full" align=
"center">Clang
3.6</td>
989 <td>Allow constant evaluation for all non-type template arguments
</td>
990 <td><a href=
"https://wg21.link/n4268">N4268
</a></td>
991 <td class=
"full" align=
"center">Clang
3.6</td>
995 <td>Remove deprecated
<tt>register
</tt> storage class
</td>
996 <td><a href=
"https://wg21.link/p0001r1">P0001R1
</a></td>
997 <td class=
"full" align=
"center">Clang
3.8</td>
1000 <td>Remove deprecated
<tt>bool
</tt> increment
</td>
1001 <td><a href=
"https://wg21.link/p0002r1">P0002R1
</a></td>
1002 <td class=
"full" align=
"center">Clang
3.8</td>
1005 <td>Make exception specifications part of the type system
</td>
1006 <td><a href=
"https://wg21.link/p0012r1">P0012R1
</a></td>
1007 <td class=
"full" align=
"center">Clang
4</td>
1010 <td><tt>__has_include
</tt> in preprocessor conditionals
</td>
1011 <td><a href=
"https://wg21.link/p0061r1">P0061R1
</a></td>
1012 <td class=
"full" align=
"center">Yes
</td>
1014 <!-- Jacksonville papers -->
1016 <td><tt>[[fallthrough]]
</tt> attribute
</td>
1017 <td><a href=
"https://wg21.link/p0188r1">P0188R1
</a></td>
1018 <td class=
"full" align=
"center">Clang
3.9</td>
1021 <td rowspan=
"2"><tt>[[nodiscard]]
</tt> attribute
</td>
1022 <td><a href=
"https://wg21.link/p0189r1">P0189R1
</a></td>
1023 <td class=
"full" align=
"center">Clang
3.9</td>
1025 <tr> <!-- from Cologne 2019 -->
1026 <td><a href=
"https://wg21.link/p1771r1">P1771R1
</a> (
<a href=
"#dr">DR
</a>)
</td>
1027 <td class=
"full" align=
"center">Clang
9</td>
1030 <td><tt>[[maybe_unused]]
</tt> attribute
</td>
1031 <td><a href=
"https://wg21.link/p0212r1">P0212R1
</a></td>
1032 <td class=
"full" align=
"center">Clang
3.9</td>
1035 <td>Aggregate initialization of classes with base classes
</td>
1036 <td><a href=
"https://wg21.link/p0017r1">P0017R1
</a></td>
1037 <td class=
"full" align=
"center">Clang
3.9</td>
1040 <td><tt>constexpr
</tt> lambda expressions
</td>
1041 <td><a href=
"https://wg21.link/p0170r1">P0170R1
</a></td>
1042 <td class=
"full" align=
"center">Clang
5</td>
1045 <td>Differing
<tt>begin
</tt> and
<tt>end
</tt> types in range-based
<tt>for
</tt></td>
1046 <td><a href=
"https://wg21.link/p0184r0">P0184R0
</a></td>
1047 <td class=
"full" align=
"center">Clang
3.9</td>
1050 <td>Lambda capture of
<tt>*this
</tt></td>
1051 <td><a href=
"https://wg21.link/p0018r3">P0018R3
</a></td>
1052 <td class=
"full" align=
"center">Clang
3.9</td>
1055 <td>Direct-list-initialization of
<tt>enum
</tt>s
</td>
1056 <td><a href=
"https://wg21.link/p0138r2">P0138R2
</a></td>
1057 <td class=
"full" align=
"center">Clang
3.9</td>
1060 <td>Hexadecimal floating-point literals
</td>
1061 <td><a href=
"https://wg21.link/p0245r1">P0245R1
</a></td>
1062 <td class=
"full" align=
"center">Yes
</td>
1064 <!-- Oulu papers -->
1066 <td>Using attribute namespaces without repetition
</td>
1067 <td><a href=
"https://wg21.link/p0028r4">P0028R4
</a></td>
1068 <td class=
"full" align=
"center">Clang
3.9</td>
1071 <td>Dynamic memory allocation for over-aligned data
</td>
1072 <td><a href=
"https://wg21.link/p0035r4">P0035R4
</a></td>
1073 <td class=
"full" align=
"center">Clang
4</td>
1076 <td rowspan=
"4">Template argument deduction for class templates
</td>
1077 <td><a href=
"https://wg21.link/p0091r3">P0091R3
</a></td>
1078 <td rowspan=
"2" class=
"full" align=
"center">Clang
5</td>
1080 <tr> <!-- from Issaquah -->
1081 <td><a href=
"https://wg21.link/p0512r0">P0512R0
</a></td>
1084 <!-- from Kona 2017 -->
1085 <td><a href=
"https://wg21.link/p0620r1">P0620R0
</a> (
<a href=
"#dr">DR
</a>)
</td>
1086 <td class=
"full" align=
"center">Clang
7</td>
1089 <!-- from Toronto 2017 -->
1090 <td><a href=
"https://wg21.link/p0702r1">P0702R1
</a> (
<a href=
"#dr">DR
</a>)
</td>
1091 <td class=
"full" align=
"center">Clang
6</td>
1094 <td>Non-type template parameters with
<tt>auto
</tt> type
</td>
1095 <td><a href=
"https://wg21.link/p0127r2">P0127R2
</a></td>
1096 <td class=
"full" align=
"center">Clang
4</td>
1099 <td>Guaranteed copy elision
</td>
1100 <td><a href=
"https://wg21.link/p0135r1">P0135R1
</a></td>
1101 <td class=
"full" align=
"center">Clang
4</td>
1104 <td rowspan=
2>Stricter expression evaluation order
</td>
1105 <td><a href=
"https://wg21.link/p0145r3">P0145R3
</a></td>
1106 <td class=
"full" align=
"center" rowspan=
2>Clang
4 <a href=
"#p0145">(
9)
</a></td>
1109 <td><a href=
"https://wg21.link/p0400r0">P0400R0
</a></td>
1112 <td>Requirement to ignore unknown attributes
</td>
1113 <td><a href=
"https://wg21.link/p0283r2">P0283R2
</a></td>
1114 <td class=
"full" align=
"center">Yes
</td>
1117 <td><tt>constexpr
</tt> <em>if-statement
</em>s
</td>
1118 <td><a href=
"https://wg21.link/p0292r2">P0292R2
</a></td>
1119 <td class=
"full" align=
"center">Clang
3.9</td>
1122 <td>Inline variables
</td>
1123 <td><a href=
"https://wg21.link/p0386r2">P0386R2
</a></td>
1124 <td class=
"full" align=
"center">Clang
3.9</td>
1127 <td rowspan=
"3">Structured bindings
</td>
1128 <td><a href=
"https://wg21.link/p0217r3">P0217R3
</a></td>
1129 <td class=
"full" align=
"center">Clang
4</td>
1132 <!-- from Jacksonville 2018 -->
1133 <td><a href=
"https://wg21.link/p0961r1">P0961R1
</a> (
<a href=
"#dr">DR
</a>)
</td>
1134 <td class=
"full" align=
"center">Clang
8</td>
1137 <!-- from Jacksonville 2018 -->
1138 <td><a href=
"https://wg21.link/p0969r0">P0969R0
</a> (
<a href=
"#dr">DR
</a>)
</td>
1139 <td class=
"full" align=
"center">Clang
8</td>
1142 <td>Separate variable and condition for
<tt>if
</tt> and
<tt>switch
</tt></td>
1143 <td><a href=
"https://wg21.link/p0305r1">P0305R1
</a></td>
1144 <td class=
"full" align=
"center">Clang
3.9</td>
1146 <!-- Issaquah 2016 papers -->
1148 <td>Matching template template parameters to compatible arguments
</td>
1149 <td><a href=
"https://wg21.link/p0522r0">P0522R0
</a> (
<a href=
"#dr">DR
</a>)
</td>
1150 <td class=
"full" align=
"center">Clang
19 <a href=
"#p0522">(
10)
</a></td>
1153 <td>Removing deprecated dynamic exception specifications
</td>
1154 <td><a href=
"https://wg21.link/p0003r5">P0003R5
</a></td>
1155 <td class=
"full" align=
"center">Clang
4</td>
1158 <td>Pack expansions in
<em>using-declarations
</em></td>
1159 <td><a href=
"https://wg21.link/p0195r2">P0195R2
</a></td>
1160 <td class=
"full" align=
"center">Clang
4</td>
1165 <span id=
"n3922">(
8): This is a backwards-incompatible change that is applied to
1166 all language versions that allow type deduction from
<tt>auto
</tt>
1167 (per the request of the C++ committee).
1168 In Clang
3.7, a warning is emitted for all cases that would change meaning.
1170 <span id=
"p0145">(
9): Under the MS ABI, function parameters are destroyed from
1171 left to right in the callee. As a result, function parameters in calls to
1172 <tt>operator
<<</tt>,
<tt>operator
>></tt>,
<tt>operator-
>*
</tt>,
1173 <tt>operator
&&</tt>,
<tt>operator||
</tt>, and
<tt>operator,
</tt>
1174 functions using expression syntax are no longer guaranteed to be destroyed in
1175 reverse construction order in that ABI.
1176 This is not fully supported during constant expression evaluation until Clang
12.
1178 <span id=
"p0522">(
10): While this feature was initially implemented in Clang
4,
1179 it was not enabled by default prior to clang
19, but could be enabled with
1180 <tt>-frelaxed-template-template-args
</tt>.
1181 Starting from Clang
19, the flag is deprecated and will be removed in a future
1187 <h2 id=
"cxx14">C++
14 implementation status
</h2>
1189 <p>Clang
3.4 and later implement all of the
<a
1190 href=
"https://www.iso.org/standard/64029.html">ISO
1191 C++
2014 standard
</a>.
</p>
1193 <p>You can use Clang in C++
14 mode with the
<code>-std=c++
14</code> option
1194 (use
<code>-std=c++
1y
</code> in Clang
3.4 and earlier).
</p>
1197 <summary>List of features and minimum Clang version with support
</summary>
1199 <table width=
"689" border=
"1" cellspacing=
"0">
1201 <th>Language Feature
</th>
1202 <th>C++
14 Proposal
</th>
1203 <th>Available in Clang?
</th>
1206 <td>Tweak to certain C++ contextual conversions
</td>
1207 <td><a href=
"https://wg21.link/n3323">N3323
</a></td>
1208 <td class=
"full" align=
"center">Clang
3.4</td>
1211 <td>Binary literals
</td>
1212 <td><a href=
"https://wg21.link/n3472">N3472
</a></td>
1213 <td class=
"full" align=
"center">Clang
2.9</td>
1216 <td>decltype(auto)
</td>
1217 <td rowspan=
2 style=
"vertical-align:middle"><a href=
"https://wg21.link/n3638">N3638
</a></td>
1218 <td class=
"full" align=
"center">Clang
3.3</td>
1221 <td>Return type deduction for normal functions
</td>
1222 <td class=
"full" align=
"center">Clang
3.4</td>
1225 <td>Initialized lambda captures
</td>
1226 <td><a href=
"https://wg21.link/n3648">N3648
</a></td>
1227 <td class=
"full" align=
"center">Clang
3.4</td>
1230 <td>Generic lambdas
</td>
1231 <td><a href=
"https://wg21.link/n3649">N3649
</a></td>
1232 <td class=
"full" align=
"center">Clang
3.4</td>
1235 <td>Variable templates
</td>
1236 <td><a href=
"https://wg21.link/n3651">N3651
</a></td>
1237 <td class=
"full" align=
"center">Clang
3.4</td>
1240 <td>Relaxing requirements on constexpr functions
</td>
1241 <td><a href=
"https://wg21.link/n3652">N3652
</a></td>
1242 <td class=
"full" align=
"center">Clang
3.4</td>
1245 <td>Member initializers and aggregates
</td>
1246 <td><a href=
"https://wg21.link/n3653">N3653
</a></td>
1247 <td class=
"full" align=
"center">Clang
3.3</td>
1250 <td>Clarifying memory allocation
</td>
1251 <td><a href=
"https://wg21.link/n3664">N3664
</a></td>
1252 <td class=
"full" align=
"center">Clang
3.4</td>
1255 <td><tt>[[deprecated]]
</tt> attribute
</td>
1256 <td><a href=
"https://wg21.link/n3760">N3760
</a></td>
1257 <td class=
"full" align=
"center">Clang
3.4</td>
1260 <td>Single quotation mark as digit separator
</td>
1261 <td><a href=
"https://wg21.link/n3781">N3781
</a></td>
1262 <td class=
"full" align=
"center">Clang
3.4</td>
1265 <td>C++ Sized Deallocation
</td>
1266 <td><a href=
"https://wg21.link/n3778">N3778
</a></td>
1267 <td class=
"full" align=
"center">Clang
3.4 <a href=
"#n3778">(
7)
</a></td>
1272 <span id=
"n3778">(
7): The user must supply definitions of the sized deallocation
1273 functions, either by providing them explicitly or by using a C++ standard library
1274 that does.
<code>libstdc++
</code> added these functions in version
5.0, and
1275 <code>libc++
</code> added them in version
3.7. The user can also use the
1276 <code>-fno-sized-deallocation
</code> option to disable sized deallocation.
1281 <h2 id=
"cxx11">C++
11 implementation status
</h2>
1283 <p>Clang
3.3 and later implement all of the
<a
1284 href=
"https://www.iso.org/standard/50372.html">ISO
1285 C++
2011 standard
</a>.
</p>
1287 <p>You can use Clang in C++
11 mode with the
<code>-std=c++
11</code>
1288 option. Clang's C++
11 mode can be used with
1289 <a href=
"https://libcxx.llvm.org/">libc++
</a> or with gcc's libstdc++.
</p>
1292 <summary>List of features and minimum Clang version with support
</summary>
1294 <table width=
"689" border=
"1" cellspacing=
"0">
1296 <th>Language Feature
</th>
1297 <th>C++
11 Proposal
</th>
1298 <th>Available in Clang?
</th>
1301 <td rowspan=
"2">Rvalue references
</td>
1302 <td><a href=
"https://wg21.link/n2118">N2118
</a></td>
1303 <td class=
"full" align=
"center">Clang
2.9</td>
1304 <tr> <!-- from Kona 2019-->
1305 <td><a href=
"https://wg21.link/p1825r0">P1825R0
</a> (
<a href=
"#dr">DR
</a>)
</td>
1306 <td class=
"full" align=
"center">Clang
13</td>
1310 <td> Rvalue references for
<code>*this
</code></td>
1311 <td><a href=
"https://wg21.link/n2439">N2439
</a></td>
1312 <td class=
"full" align=
"center">Clang
2.9</td>
1315 <td>Initialization of class objects by rvalues
</td>
1316 <td><a href=
"https://wg21.link/n1610">N1610
</a></td>
1317 <td class=
"full" align=
"center">Clang
2.9</td>
1320 <td>Non-static data member initializers
</td>
1321 <td><a href=
"https://wg21.link/n2756">N2756
</a></td>
1322 <td class=
"full" align=
"center">Clang
3.0</td>
1325 <td>Variadic templates
</td>
1326 <td><a href=
"https://wg21.link/n2242">N2242
</a></td>
1327 <td class=
"full" align=
"center">Clang
2.9</td>
1330 <td> Extending variadic template template parameters
</td>
1331 <td><a href=
"https://wg21.link/n2555">N2555
</a></td>
1332 <td class=
"full" align=
"center">Clang
2.9</td>
1335 <td rowspan=
"3">Initializer lists
</td>
1336 <td><a href=
"https://wg21.link/n2672">N2672
</a></td>
1337 <td class=
"full" align=
"center">Clang
3.1</td>
1339 <tr> <!-- from Kona 2019-->
1340 <td><a href=
"https://wg21.link/p1009r2">P1009R2
</a> (
<a href=
"#dr">DR
</a>)
</td>
1341 <td class=
"full" align=
"center">Clang
9</td>
1343 <tr> <!-- from Prague-->
1344 <td><a href=
"https://wg21.link/p1957r2">P1957R2
</a> (
<a href=
"#dr">DR
</a>)
</td>
1345 <td class=
"full" align=
"center">Clang
11</td>
1348 <td>Static assertions
</td>
1349 <td><a href=
"https://wg21.link/n1720">N1720
</a></td>
1350 <td class=
"full" align=
"center">Clang
2.9</td>
1353 <td><code>auto
</code>-typed variables
</td>
1354 <td><a href=
"https://wg21.link/n1984">N1984
</a></td>
1355 <td class=
"full" align=
"center">Clang
2.9</td>
1358 <td> Multi-declarator
<code>auto
</code></td>
1359 <td><a href=
"https://wg21.link/n1737">N1737
</a></td>
1360 <td class=
"full" align=
"center">Clang
2.9</td>
1363 <td> Removal of auto as a storage-class specifier
</td>
1364 <td><a href=
"https://wg21.link/n2546">N2546
</a></td>
1365 <td class=
"full" align=
"center">Clang
2.9</td>
1368 <td> New function declarator syntax
</td>
1369 <td><a href=
"https://wg21.link/n2541">N2541
</a></td>
1370 <td class=
"full" align=
"center">Clang
2.9</td>
1373 <td rowspan=
"2">Lambda expressions
</td>
1374 <td><a href=
"https://wg21.link/n2927">N2927
</a></td>
1375 <td class=
"full" align=
"center">Clang
3.1</td>
1378 <!-- from Albuquerque 2017 -->
1379 <td><a href=
"https://wg21.link/p0588r1">P0588R1
</a> (
<a href=
"#dr">DR
</a>)
</td>
1380 <td class=
"none" align=
"center">No
</td>
1383 <td>Declared type of an expression
</td>
1384 <td><a href=
"https://wg21.link/n2343">N2343
</a></td>
1385 <td class=
"full" align=
"center">Clang
2.9</td>
1388 <td> Incomplete return types
</td>
1389 <td><a href=
"https://wg21.link/n3276">N3276
</a></td>
1390 <td class=
"full" align=
"center">Clang
3.1</td>
1393 <td>Right angle brackets
</td>
1394 <td><a href=
"https://wg21.link/n1757">N1757
</a></td>
1395 <td class=
"full" align=
"center">Clang
2.9</td>
1398 <td>Default template arguments for function templates
</td>
1399 <td><a href=
"https://wg21.link/cwg226">DR226
</a></td>
1400 <td class=
"full" align=
"center">Clang
2.9</td>
1403 <td>Solving the SFINAE problem for expressions
</td>
1404 <td><a href=
"https://wg21.link/n2634">DR339
</a></td>
1405 <td class=
"full" align=
"center">Clang
2.9</td>
1408 <td>Alias templates
</td>
1409 <td><a href=
"https://wg21.link/n2258">N2258
</a></td>
1410 <td class=
"full" align=
"center">Clang
3.0</td>
1413 <td>Extern templates
</td>
1414 <td><a href=
"https://wg21.link/n1987">N1987
</a></td>
1415 <td class=
"full" align=
"center">Clang
2.9</td>
1418 <td>Null pointer constant
</td>
1419 <td><a href=
"https://wg21.link/n2431">N2431
</a></td>
1420 <td class=
"full" align=
"center">Clang
3.0</td>
1423 <td>Strongly-typed enums
</td>
1424 <td><a href=
"https://wg21.link/n2347">N2347
</a></td>
1425 <td class=
"full" align=
"center">Clang
2.9</td>
1428 <td>Forward declarations for enums
</td>
1429 <td><a href=
"https://wg21.link/n2764">N2764
</a>
1430 <br><a href=
"https://wg21.link/cwg1206">DR1206
</a></td>
1431 <td class=
"full" align=
"center">Clang
3.1</td>
1434 <td>Standardized attribute syntax
</td>
1435 <td><a href=
"https://wg21.link/n2761">N2761
</a></td>
1436 <td class=
"full" align=
"center">Clang
3.3 <a href=
"#n2761">(
1)
</a></td>
1439 <td rowspan=
"2">Generalized constant expressions
</td>
1440 <td><a href=
"https://wg21.link/n2235">N2235
</a></td>
1441 <td class=
"full" align=
"center">Clang
3.1</td>
1444 <!-- from Albuquerque 2017 -->
1445 <td><a href=
"https://wg21.link/p0859r0">P0859R0
</a> (
<a href=
"#dr">DR
</a>)
</td>
1446 <td class=
"full" align=
"center">Clang
8</td>
1449 <td>Alignment support
</td>
1450 <td><a href=
"https://wg21.link/n2341">N2341
</a></td>
1451 <td class=
"full" align=
"center">Clang
3.3</td>
1454 <td>Conditionally-support behavior
</td>
1455 <td><a href=
"https://wg21.link/n1627">N1627
</a></td>
1456 <td class=
"full" align=
"center">Clang
2.9</td>
1459 <td>Changing undefined behavior into diagnosable errors
</td>
1460 <td><a href=
"https://wg21.link/n1727">N1727
</a></td>
1461 <td class=
"full" align=
"center">Clang
2.9</td>
1464 <td>Delegating constructors
</td>
1465 <td><a href=
"https://wg21.link/n1986">N1986
</a></td>
1466 <td class=
"full" align=
"center">Clang
3.0</td>
1469 <td rowspan=
"2">Inheriting constructors
</td>
1470 <td><a href=
"https://wg21.link/n2540">N2540
</a></td>
1471 <td class=
"full" align=
"center">Clang
3.3</td>
1474 <!-- from Kona 2015 -->
1475 <td><a href=
"https://wg21.link/p0136r1">P0136R1
</a> (
<a href=
"#dr">DR
</a>)
</td>
1476 <td class=
"full" align=
"center">Clang
3.9</td>
1479 <td>Explicit conversion operators
</td>
1480 <td><a href=
"https://wg21.link/n2437">N2437
</a></td>
1481 <td class=
"full" align=
"center">Clang
3.0</td>
1484 <td>New character types
</td>
1485 <td><a href=
"https://wg21.link/n2249">N2249
</a></td>
1486 <td class=
"full" align=
"center">Clang
2.9</td>
1489 <td>Unicode string literals
</td>
1490 <td><a href=
"https://wg21.link/n2442">N2442
</a></td>
1491 <td class=
"full" align=
"center">Clang
3.0</td>
1494 <td>Raw string literals
</td>
1495 <td><a href=
"https://wg21.link/n2442">N2442
</a></td>
1496 <td class=
"full" align=
"center">Clang
3.0</td>
1499 <td>Universal character names in literals
</td>
1500 <td><a href=
"https://wg21.link/n2170">N2170
</a></td>
1501 <td class=
"full" align=
"center">Clang
3.1</td>
1504 <td>User-defined literals
</td>
1505 <td><a href=
"https://wg21.link/n2765">N2765
</a></td>
1506 <td class=
"full" align=
"center">Clang
3.1</td>
1509 <td>Standard Layout Types
</td>
1510 <td><a href=
"https://wg21.link/n2342">N2342
</a></td>
1511 <td class=
"full" align=
"center">Clang
3.0</td>
1514 <td rowspan=
"2">Defaulted functions
</td>
1515 <td><a href=
"https://wg21.link/n2346">N2346
</a></td>
1516 <td class=
"full" align=
"center">Clang
3.0</td>
1518 <tr> <!-- from Kona 2019-->
1519 <td><a href=
"https://wg21.link/p1286r2">P1286R2
</a> (
<a href=
"#dr">DR
</a>)
</td>
1520 <td class=
"full" align=
"center">Clang
9</td>
1523 <td>Deleted functions
</td>
1524 <td><a href=
"https://wg21.link/n2346">N2346
</a></td>
1525 <td class=
"full" align=
"center">Clang
2.9</td>
1528 <td>Extended friend declarations
</td>
1529 <td><a href=
"https://wg21.link/n1791">N1791
</a></td>
1530 <td class=
"full" align=
"center">Clang
2.9</td>
1533 <td>Extending
<code>sizeof
</code></td>
1534 <td><a href=
"https://wg21.link/n2253">N2253
</a>
1535 <br><a href=
"https://wg21.link/cwg850">DR850
</a></td>
1536 <td class=
"full" align=
"center">Clang
3.1</td>
1539 <td>Inline namespaces
</td>
1540 <td><a href=
"https://wg21.link/n2535">N2535
</a></td>
1541 <td class=
"full" align=
"center">Clang
2.9</td>
1544 <td>Unrestricted unions
</td>
1545 <td><a href=
"https://wg21.link/n2544">N2544
</a></td>
1546 <td class=
"full" align=
"center">Clang
3.1</td>
1549 <td>Local and unnamed types as template arguments
</td>
1550 <td><a href=
"https://wg21.link/n2657">N2657
</a></td>
1551 <td class=
"full" align=
"center">Clang
2.9</td>
1554 <td rowspan=
"2">Range-based for
</td>
1555 <td><a href=
"https://wg21.link/n2930">N2930
</a></td>
1556 <td class=
"full" align=
"center">Clang
3.0</td>
1559 <!-- from Jacksonville 2018 -->
1560 <td><a href=
"https://wg21.link/p0962r1">P0962R1
</a> (
<a href=
"#dr">DR
</a>)
</td>
1561 <td class=
"full" align=
"center">Clang
8</td>
1564 <td>Explicit virtual overrides
</td>
1565 <td><a href=
"https://wg21.link/n2928">N2928
</a>
1566 <br><a href=
"https://wg21.link/n3206">N3206
</a>
1567 <br><a href=
"https://wg21.link/n3272">N3272
</a></td>
1568 <td class=
"full" align=
"center">Clang
3.0</td>
1571 <td>Minimal support for garbage collection and reachability-based leak detection
</td>
1572 <td><a href=
"https://wg21.link/n2670">N2670
</a></td>
1573 <td class=
"na" align=
"center">N/A
<a href=
"#n2670">(
2)
</a></td>
1576 <td>Allowing move constructors to throw [noexcept]
</td>
1577 <td><a href=
"https://wg21.link/n3050">N3050
</a></td>
1578 <td class=
"full" align=
"center">Clang
3.0</td>
1581 <td>Defining move special member functions
</td>
1582 <td><a href=
"https://wg21.link/n3053">N3053
</a></td>
1583 <td class=
"full" align=
"center">Clang
3.0</td>
1586 <tr class=
"separator">
1587 <th align=
"center" colspan=
"3">Concurrency
</th>
1590 <td>Sequence points
</td>
1591 <td><a href=
"https://wg21.link/n2239">N2239
</a></td>
1592 <td class=
"full" align=
"center">Clang
3.3</td>
1595 <td>Atomic operations
</td>
1596 <td><a href=
"https://wg21.link/n2427">N2427
</a></td>
1597 <td class=
"full" align=
"center">Clang
3.1</td>
1600 <td>Strong Compare and Exchange
</td>
1601 <td><a href=
"https://wg21.link/n2748">N2748
</a></td>
1602 <td class=
"full" align=
"center">Clang
3.1 <a href=
"#n2748">(
3)
</a></td>
1605 <td>Bidirectional Fences
</td>
1606 <td><a href=
"https://wg21.link/n2752">N2752
</a></td>
1607 <td class=
"full" align=
"center">Clang
3.1</td>
1611 <td>Memory model
</td>
1612 <td><a href=
"https://wg21.link/n2429">N2429
</a></td>
1613 <td class=
"full" align=
"center">Clang
3.2</td>
1616 <td>Data-dependency ordering: atomics and memory model
</td>
1617 <td><a href=
"https://wg21.link/n2664">N2664
</a></td>
1618 <td class=
"full" align=
"center">Clang
3.2 <a href=
"#n2664">(
4)
</a></td>
1621 <td>Propagating exceptions
</td>
1622 <td><a href=
"https://wg21.link/n2179">N2179
</a></td>
1623 <td class=
"full" align=
"center">Clang
2.9</td>
1626 <td>Allow atomics use in signal handlers
</td>
1627 <td><a href=
"https://wg21.link/n2547">N2547
</a></td>
1628 <td class=
"full" align=
"center">Clang
3.1</td>
1631 <td>Thread-local storage
</td>
1632 <td><a href=
"https://wg21.link/n2659">N2659
</a></td>
1633 <td class=
"full" align=
"center">Clang
3.3 <a href=
"#n2659">(
5)
</a></td>
1636 <td>Dynamic initialization and destruction with concurrency
</td>
1637 <td><a href=
"https://wg21.link/n2660">N2660
</a></td>
1638 <td class=
"full" align=
"center">Clang
2.9</td>
1641 <tr class=
"separator">
1642 <th align=
"center" colspan=
"3">C99 Features in C++
11</th>
1645 <td><code>__func__
</code> predefined identifier
</td>
1646 <td><a href=
"https://wg21.link/n2340">N2340
</a></td>
1647 <td class=
"full" align=
"center">Clang
2.9</td>
1650 <td>C99 preprocessor
</td>
1651 <td><a href=
"https://wg21.link/n1653">N1653
</a></td>
1652 <td class=
"full" align=
"center">Clang
2.9</td>
1655 <td><code>long long
</code></td>
1656 <td><a href=
"https://wg21.link/n1811">N1811
</a></td>
1657 <td class=
"full" align=
"center">Clang
2.9</td>
1660 <td>Extended integral types
</td>
1661 <td><a href=
"https://wg21.link/n1988">N1988
</a></td>
1662 <td class=
"na" align=
"center">N/A
<a href=
"#n1988">(
6)
</a></td>
1667 <span id=
"n2761">(
1): The
<code>[[carries_dependency]]
</code> attribute
1668 has no effect.
</span><br>
1669 <span id=
"n2670">(
2): No compiler changes are required for an implementation
1670 such as Clang that does not provide garbage collection.
</span><br>
1671 <span id=
"n2748">(
3): All compare-exchange operations are emitted as
1672 strong compare-exchanges.
</span><br>
1673 <span id=
"n2664">(
4):
<code>memory_order_consume
</code> is lowered to
1674 <code>memory_order_acquire
</code>.
</span><br>
1675 <span id=
"n2659">(
5):
<code>thread_local
</code> support
1676 requires a C++ runtime library providing
<code>__cxa_thread_atexit
</code>, such
1677 as
<a href=
"https://libcxxabi.llvm.org">libc++abi
</a> 3.6 or later,
1678 or libsupc++
4.8 or later.
</span><br>
1679 <span id=
"n1988">(
6): No compiler changes are required for an implementation
1680 such as Clang that does not provide any extended integer types.
1681 <code>__int128
</code> is not treated as an extended integer type,
1682 because changing
<code>intmax_t
</code> would be an ABI-incompatible
1688 <h2 id=
"cxx98">C++
98 implementation status
</h2>
1690 <p>Clang implements all of the ISO C++
1998 standard
1691 (including the defects addressed in the ISO C++
2003 standard)
1692 except for
<tt>export
</tt> (which was removed in C++
11).
1694 <h2 id=
"dr">Defect reports
</h2>
1696 <p>Clang generally aims to implement resolutions to Defect Reports (bug fixes
1697 against prior standards) retroactively, in all prior standard versions where
1698 the fix is meaningful. Significant Defect Report changes to language features
1699 after the publication of the relevant standard are marked (DR) in the above
1702 <p>Clang also has a test suite for conformance to resolutions for issues on the
1703 <a href=
"http://www.open-std.org/jtc1/sc22/wg21/docs/cwg_toc.html">C++ core issues list
</a>,
1704 most of which are considered Defect Reports.
1705 <a href=
"cxx_dr_status.html">Implementation status for C++ core issues
</a> based on
1706 that test suite is tracked on a separate page.
</p>
1708 <h2 id=
"ts">Technical specifications and standing documents
</h2>
1710 <p>ISO C++ also publishes a number of documents describing additional language
1711 and library features that are not part of standard C++.
</p>
1714 <summary>List of features and minimum Clang version with support
</summary>
1716 <table width=
"689" border=
"1" cellspacing=
"0">
1719 <th>Latest draft
</th>
1720 <th>Compiler flag
</th>
1721 <th>Available in Clang?
</th>
1724 <td rowspan=
"7">SD-
6: SG10 feature test recommendations
</td>
1725 <td rowspan=
"7"><a href=
"https://isocpp.org/std/standing-documents/sd-6-sg10-feature-test-recommendations">SD-
6</a></td>
1726 <td rowspan=
"7">N/A
</td>
1727 <td class=
"full" align=
"center">
1728 Clang
3.4 (
<a href=
"https://wg21.link/n3745">N3745
</a>)
</br>
1732 <td class=
"full" align=
"center">
1733 Clang
3.6 (
<a href=
"https://wg21.link/n4200">N4200
</a>)
</a>
1737 <td class=
"full" align=
"center">
1738 Clang
4 (
<a href=
"https://wg21.link/p0096r3">P0096R3
</a>)
</a>
1742 <td class=
"full" align=
"center">
1743 Clang
5 (
<a href=
"https://wg21.link/p0096r4">P0096R4
</a>)
</a>
1747 <td class=
"full" align=
"center">
1748 Clang
7 (
<a href=
"https://wg21.link/p0096r5">P0096R5
</a>)
</a>
1752 <td class=
"full" align=
"center">
1753 Clang
9 (
<a href=
"https://wg21.link/p1353r0">P1353R0
</a>)
1757 <td class=
"full" align=
"center">
1758 Clang
10 (
<a href=
"https://wg21.link/p1902r1">P1902R1
</a>)
</a>
1761 <!-- No compiler support is known to be needed for:
1763 * Parallelism TS (v1, v2)
1769 <td>[TS] Concepts
</td>
1770 <td><a href=
"https://wg21.link/p0121r0">P0121R0
</a></td>
1772 <td class=
"na" align=
"center">Superseded by
<a href=
"#p0734">P0734R0
</a></td>
1775 <!-- track unimplemented Coroutines features: p0913r1 p0914r1 p1356r0 -->
1776 <td rowspan=
"2">[TS] Coroutines
</td>
1777 <td rowspan=
"2"><a href=
"https://isocpp.org/files/papers/N4663.pdf">N4663
</a></td>
1778 <td><tt>-fcoroutines-ts
<br>-stdlib=libc++
</tt></td>
1779 <td class=
"full" align=
"center">Clang
5</td>
1782 <td><tt>-std=c++
20<br>-stdlib=libc++
</tt></td>
1783 <td class=
"na" align=
"center">Superseded by
<a href=
"#p0912">P0912R5
</a></td>
1786 <td>[TS] Library Fundamentals, Version
1 (invocation type traits)
</td>
1787 <td><a href=
"https://wg21.link/n4480">N4480
</a></td>
1789 <td class=
"none" align=
"center">No
</td>
1792 <td>[TS] Library Fundamentals, Version
2 (
<tt>source_location
</tt>)
</td>
1793 <td><a href=
"https://wg21.link/n4617">N4617
</a></td>
1795 <td class=
"full" align=
"center">Clang
9 (
<a href=
"docs/LanguageExtensions.html#source-location-builtins">documentation
</a>)
</td>
1798 <td>[TS] Modules
</td>
1799 <td><a href=
"https://wg21.link/n4720">N4720
</a></td>
1800 <td><tt>-fmodules-ts
</tt></td>
1801 <td class=
"na" align=
"center">Superseded by
<a href=
"#p1103">P1103R3
</a></td>
1804 <td>[DRAFT TS] Reflection
</td>
1805 <td><a href=
"https://wg21.link/n4818">N4818
</a></td>
1807 <td class=
"none" align=
"center">No
</td>
1810 <td>[TS] Transactional Memory
</td>
1811 <td><a href=
"https://wg21.link/n4514">N4514
</a></td>
1813 <td class=
"none" align=
"center">No
</td>