lhchavez added inline comments.
================
Comment at: include/__mutex_base:65
void unlock() _NOEXCEPT
_LIBCPP_THREAD_SAFETY_ANNOTATION(release_capability());
+#ifdef _LIBCPP_HAS_THREAD_SAFETY_ANNOTATIONS
+ const mutex& operator!() const { return *this; }
----------------
mclow.lists wrote:
> We don't get to add public member functions to classes defined in the
> standard - at least not ones with pronounceable names.
>
So there's no way to support negative assertions as stated in the docs? That's
unfortunate :(
Repository:
rCXX libc++
https://reviews.llvm.org/D41498
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits