From b124e3d095e255acafc16abb07d5fe74f5e7ec31 Mon Sep 17 00:00:00 2001 From: Jens Maurer Date: Wed, 23 Nov 2016 23:47:03 +0100 Subject: [PATCH] [class.union] Clarify in the note that a default member initializer may prevent a defaulted special member function from being implicitly deleted. Fixes #1073. --- source/classes.tex | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/source/classes.tex b/source/classes.tex index c670b254b4..068dee64a7 100644 --- a/source/classes.tex +++ b/source/classes.tex @@ -1550,7 +1550,8 @@ \indextext{restriction!\idxcode{union}}% If a union contains a non-static data member of reference type the program is ill-formed. -\begin{note} If any non-static data member of a union has a non-trivial +\begin{note} Absent default member initializers~(\ref{class.mem}), +if any non-static data member of a union has a non-trivial default constructor~(\ref{class.ctor}), copy constructor~(\ref{class.copy}), move constructor~(\ref{class.copy}),