Skip to content

Commit

Permalink
Add an explanatory note to the interation with unions sections
Browse files Browse the repository at this point in the history
  • Loading branch information
RazvanN7 committed Dec 18, 2018
1 parent ea4ac87 commit cf08621
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion DIPs/DIP1xxx-rn.md
Expand Up @@ -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

Expand Down

0 comments on commit cf08621

Please sign in to comment.