What about be able to do something like this:

enum Foo
{
public:
bar,
fooBar,
}

Foo f = bar;


public is the wrong keyword. Furthermore, the solution is not better than mixin Import!Foo; I think the extern(C) enum proposal is pragmatic and makes more sense.

+1

Reply via email to