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: 29.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 188.8.131.52 [res.on.objects] and 184.108.40.206 [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 220.127.116.11 [ios.base.storage] add a new paragraph after paragraph 1:
static int xalloc();
-1- Returns: index ++.