From: Steven Watanabe (steven_at_[hidden])
Date: 2007-01-08 15:26:29
Andrey Semashev wrote:
> Oh, you're right. But isn't it enough just to mark "m_fInitialized" as
> "volatile"? According to 1.9/7 it would enforce the compiler to
> initialize "m_StatesInfo" prior to setting "m_fInitialized".
No, m_StatesInfo has to be volatile too.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk