|
Boost : |
From: Gennadiy Rozental (rogeeff_at_[hidden])
Date: 2008-01-18 14:28:23
Peter Dimov <pdimov <at> pdimov.com> writes:
> X* X::instance()
> {
> static X* s_px = 0;
>
> if( X* px = atomic_load_relaxed( &s_px ) )
&s_px doesn't look right here.
Gennadiy
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk