Free functions versus member functions

Janice Caron caron800 at googlemail.com
Sun Oct 14 16:29:18 PDT 2007


On 10/15/07, Daniel Keep <daniel.keep.lists at gmail.com> wrote:
> Basically:
>
>   s.find(...)
>
> and
>
>   find(s, ...)
>
> become equivalent.

Almost equivalent? Correct me if I'm wrong, but the former is capable
of polymorphism while the latter isn't?

I think this uniform call syntax idea is /brilliant/, by the way. I'm
all in favor it. Just being clear here.



More information about the Digitalmars-d mailing list