------- Comment #4 from bangerth at gmail dot com  2009-08-20 20:54 -------
(In reply to comment #3)
> You cannot use a static variable in a template :).

I would be unaware of that restriction. It's true that you can't use objects
with internal linkage (such as static variables) as *template arguments* but
I would be surprised if you couldn't use them in the body of a template
function. That said, this point is tangential to what I wanted to say with
this PR, and your little programs makes my point as eloquently as my original
one ;-)

W.


-- 


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

Reply via email to