Boost logo

Boost :

From: Steven Watanabe (steven_at_[hidden])
Date: 2007-01-08 15:26:29


AMDG

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.

In Christ,
Steven Watanabe


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