Boost logo

Boost :

From: Peter Dimov (pdimov_at_[hidden])
Date: 2001-09-26 06:49:33


On pthreads, boost::once_init is defined like this:

namespace boost
{
    typedef pthread_once_t once_flag;
    const once_flag once_init = PTHREAD_ONCE_INIT;
}

Is it guaranteed that

boost::once_flag x = boost::once_init;

is statically initialized?

--
Peter Dimov
Multi Media Ltd.

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