--- Comment #3 from yebblies <> 2012-01-31 17:25:22 EST ---
(In reply to comment #2)
> That's not generated by the compiler (at least not 2.057, I don't know about
> 2.058 HEAD).

It doesn't get generated by the compiler, but you can still do it.

> But how does it make sense to hide enum members anyway? 

An enum declaration creates its own type, so in the same kind of places you'd
want to pass around an opaque struct pointer.

> I've never seen D code that uses a forward enum declaration.

Neither have I, but I've seen plenty of C/C++ source that does it. eg dmd

Configure issuemail:
------- You are receiving this mail because: -------

Reply via email to