C++ Logo

SG10

Advanced search

Subject: Re: [SG10] New draft of SD-6
From: Nelson, Clark (clark.nelson_at_[hidden])
Date: 2014-03-13 12:06:13


From: Ed Smith-Rowland [mailto:3dw4rd_at_[hidden]]
Sent: Monday, February 24, 2014 5:56 PM

> Shouldn't __cpp_lib_shared_mutex be in the <shared_mutex> header rather than the <mutex> header?

I agree there's a problem with what I put in the draft, but moving the macro
is not the solution.

The question that needs to be answered is whether <shared_mutex> can be
included at all. So probably the test should use __has_include.

Clark


SG10 list run by herb.sutter at gmail.com