This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: ambiguous overload ?
Zhang Wei Feng wrote:-
> of the function, but my question is
>
> "Is that really difficult for normal functions( non-member functions) to differentiate
> them by applying something like "const" " ?
I'm no expert, but I don't think the question is one of difficulty for
the compiler, but one of what is unambiguous in all cases (which can
get really hairy) and what promotes the coding style that Bjarne
wanted to promote at the time?
Neil.