enum

Andrej Mitrovic andrej.mitrovich at gmail.com
Thu Apr 10 23:01:16 PDT 2014


On 4/11/14, deadalnix <deadalnix at gmail.com> wrote:
> We don't need a wrapper, we simply need to stop to port header
> with what you call C style enum. It is completely useless, and
> the whole problem you mention come from the fact that the header
> was translated to that.

Yeah I agree. Other than allowing C code to be more easily ported to
D, these C-style enums are really ugly.


More information about the Digitalmars-d mailing list