Boost logo

Boost :

From: shunsuke (pstade.mb_at_[hidden])
Date: 2007-06-15 12:18:28


Eric Niebler wrote:
> If you are using the above formulation, then the reference is not
> initialized until runtime. Due to order of initialization issues, you
> could end up indirecting through an uninitialized reference and crash
> even before you hit main().

Sorry, could you give me any example such that
type const &name = get_static_local<type>(); might cause a crash?

Regards,

-- 
Shunsuke Sogame

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk