yank '>>>'?

bearophile bearophileHUGS at lycos.com
Sun Dec 6 09:59:19 PST 2009


dsimcha:
> This is a good idea, although rotate may be seldom enough used not to warrant its
> own (possibly overloadable) operator.

Overloadable rotate operators can be used to rotate items inside an user-defined array, in my dlibs I have the templated functions rotateLeft and rotateRight, and I have used them once in a while.


> std.intrinsic might be a better place for rotate.<

In std.intrinsic I'd like to see ways to read and use the carry bit, from D.

Bye,
bearophile



More information about the Digitalmars-d mailing list