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
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
  • [PATCH] D41498: [libc... Luis Héctor Chávez via Phabricator via cfe-commits
    • [PATCH] D41498: ... Marshall Clow via Phabricator via cfe-commits
    • [PATCH] D41498: ... Luis Héctor Chávez via Phabricator via cfe-commits

Reply via email to