www.digitalmars.com         C & C++   DMDScript  

D - opIndex

reply "Matthew Wilson" <matthew stlsoft.org> writes:
Just want to say thanks for allowing the indexer to be uint, as well as int.
I _suspect_ that this is an oversight, but in any case I think it's a good
feature.

Now, if only we could change the name of the operator method ... ;)
Oct 04 2003
parent "Walter" <walter digitalmars.com> writes:
"Matthew Wilson" <matthew stlsoft.org> wrote in message
news:blm101$2me0$1 digitaldaemon.com...
 Just want to say thanks for allowing the indexer to be uint, as well as
int.
 I _suspect_ that this is an oversight, but in any case I think it's a good
 feature.
It's a feature! The indexer can be any type.
 Now, if only we could change the name of the operator method ... ;)
Ah, er, hmm...
Oct 04 2003