Artur Skawina:

> Would marking the ctor as "scope" (similarly to "const" or "pure") work for 
> your
> case? (it is reasonable to expect that the compiler checks this by itself; 
> it's
> per-type, so not nearly as expensive as analyzing the flow)

Maybe this is a topic worth discussing in the main D newsgroup (and maybe later 
worth an enhancement request).

Bye,
bearophile

Reply via email to