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: 27.5.3 [ios.base] Status: C++14 Submitter: Alberto Ganesh Barbati Opened: 2012-03-14 Last modified: 2016-02-10
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 18.104.22.168 [res.on.objects] and 22.214.171.124 [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 126.96.36.199 [ios.base.storage] add a new paragraph after paragraph 1:
static int xalloc();
-1- Returns: index ++.