October 24, 2002
"Sandor Hojtsy" <hojtsy@index.hu> wrote in message news:aolk6c$1g2q$1@digitaldaemon.com...
> Ok, so you now have a fast array type, which is a good thing in some
> situations.
> Now we have to think about creating a separate full-featured array
*class*,
> possibly in the standard library, with [] operator overload and self-encapsulation, and ... well ... poorer performance than the built-in array.

I have thought about enabling operator [] overload for classes, that way you can create your own 'array' semantics.


October 24, 2002
>
> I have thought about enabling operator [] overload for classes, that way
you
> can create your own 'array' semantics.
>
I think indexable properties (delphi/C#) are better than just overloading []
and more flexable.


1 2 3
Next ›   Last »