Support for C++14 shared_mutex in libstdc++

Jonathan Wakely jwakely.gcc@gmail.com
Tue Jun 9 08:37:00 GMT 2015


On 9 June 2015 at 06:19, Marc Glisse wrote:
> On Mon, 8 Jun 2015, Edward Diener wrote:
>
>> I am looking for a way to check for C++14 support for the shared_mutex
>> header in libstdc++ using preprocessor predefined macros. Is there a way to
>> do this ?
>
>
> // TODO: #define __cpp_lib_shared_mutex 201505
>
> Soon, I believe it has to wait until sg10 approves of a name.

That's for the C++17 std::shared_mutex type, rather than the C++14
<shared_mutex> header.



More information about the Gcc-help mailing list