This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/29008] Fails to accept templated constructor



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]