Boost logo

Boost :

Subject: Re: [boost] [fusion] sequence io manipulators
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2013-03-26 13:46:34


AMDG

On 03/26/2013 10:03 AM, Jeff Flinn wrote:
>
> I have not addressed possible issues with "static int index =
> std::ios::xalloc();" thread safety. gcc at least appears to guard this
> initialization with a mutex. I'm not sure what the standard guarantees
> in this regard pre/post C++11. Comments would be appreciated.
>

C++11 guarantees that function statics are
thread safe. C++03 doesn't.

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