This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/37971] [4.3/4.4 Regression] Rejects default argument that is a template via access failure
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 31 Oct 2008 00:13:00 -0000
- Subject: [Bug c++/37971] [4.3/4.4 Regression] Rejects default argument that is a template via access failure
- References: <bug-37971-6528@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #1 from pinskia at gcc dot gnu dot org 2008-10-31 00:13 -------
This is valid code via 8.3.6/5:
"The names in the expressions are bound, and the semantics constraints are
checked, at the point where the default argument expression appears.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37971