https://github.com/llvm-mirror/libcxx/blob/master/include/__mutex_base#L290
class _LIBCPP_TYPE_VIS condition_variable
{
__libcpp_condvar_t __cv_ = _LIBCPP_CONDVAR_INITIALIZER;
public:
_LIBCPP_INLINE_VISIBILITY
_LIBCPP_CONSTEXPR condition_variable() _NOEXCEPT = default;
but The Standard declares it as
class condition_variable {
public:
condition_variable();
~condition_variable();
( http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2020/n4849.pdf )
And condition_variable()
may throw.
Is libcxx incompatible with C++ Standard, or am I wrong?