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: "igodard at pacbell dot net" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 10 Oct 2006 14:17: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 #4 from igodard at pacbell dot net 2006-10-10 14:17 -------
Yes, there IS something you can do about it. The compiler already checks
whether a
template is resolved by its data arguments (the message is something like
"nothing
of foo depends on any template argument and so ..."), so this construction can
be
and should be diagnosed at point of declaration of the constructor. Please
reopen
and change to a diagnostic issue. If for some reason the error cannot be
diagnosed
at the constructor, then fix the existing error messoge to something just a
*bit*
more enlightening :-)
Ivan
--
igodard at pacbell dot net changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |UNCONFIRMED
Resolution|INVALID |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29008