--- Comment #4 from jonathan dot sd24 at yahoo dot de 2009-07-29 21:05
---
Template-Parameters can be results of long calculations or typedefs with
several layers of indirection.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40793
--- Comment #2 from jonathan dot sd24 at yahoo dot de 2009-07-18 10:02
---
When I explicitly specify the template-arguments g++ should know it.
And there was no candidate-list.
For example:
template
void staticPrint()
{
cout << t << endl;
}
Now I call:
staticPrint()
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: jonathan dot sd24 at yahoo dot de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40793