[Bug c++/36203] explicit member function template lookup fails from templated function
starlight at binnacle dot cx
gcc-bugzilla@gcc.gnu.org
Sun May 11 02:43:00 GMT 2008
------- Comment #7 from starlight at binnacle dot cx 2008-05-11 02:42 -------
That little bit of ambiguity bothers me a lot less that writing
55,000 freaking 'using' statements, which is what I've had to do
for several years now.
In the real world nobody except idiots name their functions 'f',
so it doesn't arise as a practical problem. To the extent it
does, writing an occasional ::f() and B::f() are much less of a
problem than the hundreds of stupid 'using' statements I've had
to write ever since GCC 3.4. The resulting code is much harder
to maintain as every time I add some logic I then have spend 30
minutes or an hour chasing down more 'using's. The theoretical
side of the issue makes no impression on people who work for
living. Have a switch option for masochists who give a s**t.
Let me be perfectly clear: Thousands of lines of code worked
perfectly fine before this slavish standard nonsense. All
that's changed is that people like me who used to like templates
like them a lot less now. M4 looks better every day.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36203
More information about the Gcc-bugs
mailing list