enum

Walter Bright newshound2 at digitalmars.com
Fri Apr 11 17:19:30 PDT 2014


On 4/11/2014 12:30 PM, Paulo Pinto wrote:
> Sure, but aren't those use cases a consequence of C's misuse of enums, which are
> handled better by numeric constants?

Again, a list of numeric constants offers no benefit of having a separate type.



More information about the Digitalmars-d mailing list