[phobos] std.process and std.datetime - circular dependency on OSX

Jonathan M Davis jmdavisProg at gmx.com
Sun Oct 2 15:42:57 PDT 2011


On Sunday, October 02, 2011 14:49:26 Walter Bright wrote:
> On 10/1/2011 9:07 PM, Jonathan M Davis wrote:
> > It would be really nice though to be
> > able to just somehow mark one or both of the static constructors or
> > modules to indicate that the initialization order doesn't matter (or to
> > tell it which order to use if that's a better solution).
> 
> If such a feature were added, it would not be allowed in @safe code.

Well, it does kind of scream @trusted, since you're telling the compiler that 
what you're doing is safe instead of the compiler figuring it out on its own.

- Jonathan M Davis


More information about the phobos mailing list