------- 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<typename T, T t>
void staticPrint()
{
  cout << t << endl;
}

Now I call:
staticPrint<double, "text">();
I get:
"no matching function for call to void staticPrint()"
No candidates... And I would like to know, what's wrong with the
template-arguments.
Beleive me: You can spent hours with searching for the reason of such an error.


-- 

jonathan dot sd24 at yahoo dot de changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |UNCONFIRMED
         Resolution|WONTFIX                     |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40793

Reply via email to