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