This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/29008] Fails to accept templated constructor
- From: "bangerth at dealii dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 10 Oct 2006 04:00:29 -0000
- Subject: [Bug c++/29008] Fails to accept templated constructor
- References: <bug-29008-6594@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #3 from bangerth at dealii dot org 2006-10-10 04:00 -------
The standard does not provide to explicitly specify the template
arguments of a constructor invocation. The syntax
name<type>
refers to a template class 'name' with template argument 'type', not
to a template constructor 'name::name<type>'.
This is just how the language works, nothing we can do about.
W.
--
bangerth at dealii dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |bangerth at dealii dot org
Status|UNCONFIRMED |RESOLVED
Resolution| |INVALID
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29008