[libcxx] r189812 - Updated the synopsis for weak_ptr<T>::owner_before to match the code. No code changes.

Marshall Clow mclow.lists at gmail.com
Tue Sep 3 07:37:50 PDT 2013


Author: marshall
Date: Tue Sep  3 09:37:50 2013
New Revision: 189812

URL: http://llvm.org/viewvc/llvm-project?rev=189812&view=rev
Log:
Updated the synopsis for weak_ptr<T>::owner_before to match the code. No code changes.

Modified:
    libcxx/trunk/include/memory

Modified: libcxx/trunk/include/memory
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/include/memory?rev=189812&r1=189811&r2=189812&view=diff
==============================================================================
--- libcxx/trunk/include/memory (original)
+++ libcxx/trunk/include/memory Tue Sep  3 09:37:50 2013
@@ -496,8 +496,8 @@ public:
     long use_count() const noexcept;
     bool expired() const noexcept;
     shared_ptr<T> lock() const noexcept;
-    template<class U> bool owner_before(shared_ptr<U> const& b);
-    template<class U> bool owner_before(weak_ptr<U> const& b);
+    template<class U> bool owner_before(shared_ptr<U> const& b) const;
+    template<class U> bool owner_before(weak_ptr<U> const& b) const;
 };
 
 // weak_ptr specialized algorithms:





More information about the cfe-commits mailing list