We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f9321d9 commit ecf6a2dCopy full SHA for ecf6a2d
text/0000-union-initialization-and-drop.md
@@ -353,9 +353,11 @@ simple as it gets.
353
[prior-art]: #prior-art
354
355
I do not know of any language combining initialization tracking and destructors
356
-with unions: C++ does not have destructors for unions, and it does not track
357
-whether fields of a data structures are initialized to (dis)allow references or
358
-moves.
+with unions: C++ [never runs destructors for fields of unions][cpp_union_drop],
+and it does not track whether fields of a data structures are initialized to
+(dis)allow references or moves.
359
+
360
+[cpp_union_drop]: https://en.cppreference.com/w/cpp/language/union
361
362
# Unresolved questions
363
[unresolved-questions]: #unresolved-questions
0 commit comments