Partial ordering bug (?) in egcs
Mark Mitchell
mark@markmitchell.com
Tue Aug 11 11:43:00 GMT 1998
>>>>> "Thomas" == Thomas Kunert <kunert@physik.tu-dresden.de> writes:
Thomas> an exact match for `IndexPlaceholder<N_index>'. I see some
Thomas> advantages in my interpretation:
Thomas> + some useful constructs are supported (e.g. Todd's
Thomas> example)
Thomas> + it's portabel :-)
There is one major disadvantage, though; it's not how the language
works. :-(
Thomas> Are there examples that wouldn't work with my point of
Thomas> view?
Of course; if you were to allow this kind of thing you would change
the way overload resolution behaves. In Todd's example, you would
remove an ambiguity, but in others you might equally well add one.
--
Mark Mitchell mark@markmitchell.com
Mark Mitchell Consulting http://www.markmitchell.com
More information about the Gcc-bugs
mailing list