On 8/15/12, d_follower <[email protected]> wrote:
> I don't really know why, but it seems that you can only
> initialize globals with constants.

That's what the static constructor is for:
http://dlang.org/class.html#StaticConstructor
http://dlang.org/class.html#SharedStaticConstructor

Reply via email to