From cf086215f17543a2ad12ba7e1b68eb74703be586 Mon Sep 17 00:00:00 2001 From: RazvanN7 Date: Tue, 18 Dec 2018 11:12:04 +0200 Subject: [PATCH] Add an explanatory note to the interation with unions sections --- DIPs/DIP1xxx-rn.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/DIPs/DIP1xxx-rn.md b/DIPs/DIP1xxx-rn.md index 489132d69..cf607d86f 100644 --- a/DIPs/DIP1xxx-rn.md +++ b/DIPs/DIP1xxx-rn.md @@ -586,7 +586,8 @@ A `struct` that defines a copy constructor is not POD. ### Interaction with unions -Unions may not have fields that define a copy constructor. +If an `union S` has fields that define a copy constructor, whevener an object of type +`S` is initialized by copy, an error will be issued. ## Breaking Changes and Deprecations