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

bangerth at dealii dot org gcc-bugzilla@gcc.gnu.org
Tue Oct 10 04:00:00 GMT 2006



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



More information about the Gcc-bugs mailing list