Comparison of Enumerations with base type of String?

Michael Reiland via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Sat Aug 26 18:43:14 PDT 2017


Hey guys,

I was running through a tutorial and I noticed that enums can 
have a base type of string.  Which is interesting, but I'm 
wondering about comparisons.

I'm guessing the comparison boils down to a pointer comparison, 
but I thought I'd confirm.



More information about the Digitalmars-d-learn mailing list