can we detect at compile time module ctor/dtor cycles ?

Jonathan M Davis jmdavisProg at gmx.com
Fri Jun 7 23:41:22 PDT 2013


On Friday, June 07, 2013 23:23:25 Timothee Cour wrote:
> Why can't we detect at compile time module ctor/dtor cycles (instead of
> runtime) ?

At minimum, separate compilation stops it. A .di file isn't likely to have them 
even if its corresponding .d file did. IIRC, there were other reasons as well, 
but I don't remember them at the moment.

- Jonathan M Davis


More information about the Digitalmars-d-learn mailing list