Interesting stuff.

"Andrei Alexandrescu" <seewebsiteforem...@erdani.org> wrote in message 
news:jcg2lu$17p2$1...@digitalmars.com...
>
> We can use lazy initialization instead of compulsively initializing 
> library internals. I think this is often a worthy thing to do in any case 
> (dynamic libraries etc) because it only does work if and when work needs 
> to be done at the small cost of a check upon each use.
>

That also has the benefit of reducing the risk of dreaded circular ctor 
dependency problems.


Reply via email to