This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/13813] [DR206] Incomplete member variables in a template.
- From: "giovannibajo at libero dot it" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 23 Jan 2004 13:02:46 -0000
- Subject: [Bug c++/13813] [DR206] Incomplete member variables in a template.
- References: <20040122143040.13813.mattyt-bugzilla@tpg.com.au>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From giovannibajo at libero dot it 2004-01-23 13:02 -------
The first testcase is exactly to DR206. It says "no diagnostic required" so we
probably are already conforming, but nonetheless it's easy to add a diagnostic
here (I have a patch in progress).
The second testcases is more subtle, because Z<A>::E is a dependent type, as
explained in DR108 (then reworked by DR224). EDG does not agree with us, but I
think it's correct to perform the check at instantiation time.
The third testcase (in comment #1) is unrelated, and will be moved to a
different report.
--
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |giovannibajo at libero dot
|dot org |it
Status|NEW |ASSIGNED
Summary|Incomplete member variables |[DR206] Incomplete member
|in a template. |variables in a template.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13813