[Bug c++/17207] No warning for nonsense template
bangerth at dealii dot org
gcc-bugzilla@gcc.gnu.org
Fri Aug 27 13:15:00 GMT 2004
------- Additional Comments From bangerth at dealii dot org 2004-08-27 13:15 -------
I can think of a number of good reasons to use templates that don't
use their argument. For example, they may have static variables
in them and you may want to use one or the other one. libstdc++
uses something like this for the allocator classes. A warning
would certainly be very unwelcome to many.
W.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17207
More information about the Gcc-bugs
mailing list