Rotating though an enum idiom

Manfred_Nowak svv1999 at hotmail.com
Sat Sep 6 15:40:41 PDT 2008


Spacen Jasset wrote:

> use some sort of modulo operation

Might be dependent on what you know about the enum:

   enum E{ A , B=42 , C=int.max}

-manfred

-- 
If life is going to exist in this Universe, then the one thing it 
cannot afford to have is a sense of proportion. (Douglas Adams)



More information about the Digitalmars-d-learn mailing list