I'm committing the __throw_bad_alloc() part on the branch too.
commit 02221ce47cade82036c7d78ed79e5fe536fdfcfd
Author: Jonathan Wakely
Date: Thu Sep 3 23:01:02 2015 +0100
* include/std/shared_mutex (shared_timed_mutex::shared_timed_mutex):
Replace throw with __throw_bad_alloc.
diff
This adjusts some missing or redundant includes, and replaces "throw
bad_alloc()" (which won't work with -fno-exceptions) with a call to
__throw_bad_alloc().
Tested powerpc64e-linux, committed to trunk.
commit ca17448c303cfd58191c64abe42a750c9590aa14
Author: Jonathan Wakely
Date: Thu Sep 3 21