Don <[email protected]> wrote:
aarti_pl wrote:
bearophile pisze:
aarti_pl:
I think that proposed names exactly reflect the meaning. So I would
say it is perfectly consistent with D convention.
Dollars are money, but opDollar is not a member function that returns
the price of a struct. So I don't agree with you, or I don't
understand what you mean.
Bye,
bearophile
I agree. opDollar is not particularly fitting to D language operator
concept. opLength/opSize would fit better.
Unfortunately $ is not necessarily the length, nor the size. It might
not even be an arithmetic type.
opEnd, then?
--
Simen