This page is a snapshot from the LWG issues list, see the Library Active Issues List for more information and the meaning of C++14 status.
Section: 31.5.2 [ios.base] Status: C++14 Submitter: Alberto Ganesh Barbati Opened: 2012-03-14 Last modified: 2016-01-28
Priority: Not Prioritized
View all other issues in [ios.base].
View all issues with C++14 status.
The static function ios_base::xalloc() could be called from multiple threads and is not covered by 126.96.36.199 [res.on.objects] and 188.8.131.52 [res.on.data.races]. Adding a thread-safety requirement should not impose a significant burden on implementations, as the function can be easily implemented with hopefully lock-free atomics.
Unanimous.Resolution: move tentatively ready. (Inform Bill about this issue.)
Apply to Working Paper
This wording is relative to N3376.
In 184.108.40.206 [ios.base.storage] add a new paragraph after paragraph 1:
static int xalloc();
-1- Returns: index ++.