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.
Michael Reiland via Digitalmars-d-learn Sat, 26 Aug 2017 18:46:14 -0700
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.