------- Comment #5 from apl at alum dot mit dot edu  2006-08-03 22:51 -------
issuing an error here probably will cause you to violate SFINAE as well.

And to my mind as a 'user', the QOI issue is that an optimization flag is
interfering with a perfectly reasonable behavior when I don't materialize the
templated function.

It's also a QOI issue that template classes should not compile functions that
are not used.  If I attempt to instantiate the function, THEN is when it should
report an error that the optimization settings are inconsistent with the code
I'm compiling.


-- 


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

Reply via email to