www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - operator overloading: opSlice and '$'

I think it should be allowed to use the '$' character for opSlice/opSliceAssign
functions, not only for arrays. It would simply be a shortcut to the .length
propertie of a struct/class.
What do you think?
(I apologize for my english ^^)
Feb 14 2007