[libcxx] r317063 - Update the synopsis to match the P/R of 2945. No code changes.

Marshall Clow via cfe-commits cfe-commits at lists.llvm.org
Tue Oct 31 18:27:25 PDT 2017


Author: marshall
Date: Tue Oct 31 18:27:25 2017
New Revision: 317063

URL: http://llvm.org/viewvc/llvm-project?rev=317063&view=rev
Log:
Update the synopsis to match the P/R of 2945. No code changes.


Modified:
    libcxx/trunk/include/optional

Modified: libcxx/trunk/include/optional
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/include/optional?rev=317063&r1=317062&r2=317063&view=diff
==============================================================================
--- libcxx/trunk/include/optional (original)
+++ libcxx/trunk/include/optional Tue Oct 31 18:27:25 2017
@@ -57,17 +57,17 @@ namespace std {
 
   // 23.6.8, comparison with T
   template <class T, class U> constexpr bool operator==(const optional<T>&, const U&);
-  template <class T, class U> constexpr bool operator==(const U&, const optional<T>&);
+  template <class T, class U> constexpr bool operator==(const T&, const optional<U>&);
   template <class T, class U> constexpr bool operator!=(const optional<T>&, const U&);
-  template <class T, class U> constexpr bool operator!=(const U&, const optional<T>&);
+  template <class T, class U> constexpr bool operator!=(const T&, const optional<U>&);
   template <class T, class U> constexpr bool operator<(const optional<T>&, const U&);
-  template <class T, class U> constexpr bool operator<(const U&, const optional<T>&);
+  template <class T, class U> constexpr bool operator<(const T&, const optional<U>&);
   template <class T, class U> constexpr bool operator<=(const optional<T>&, const U&);
-  template <class T, class U> constexpr bool operator<=(const U&, const optional<T>&);
+  template <class T, class U> constexpr bool operator<=(const T&, const optional<U>&);
   template <class T, class U> constexpr bool operator>(const optional<T>&, const U&);
-  template <class T, class U> constexpr bool operator>(const U&, const optional<T>&);
+  template <class T, class U> constexpr bool operator>(const T&, const optional<U>&);
   template <class T, class U> constexpr bool operator>=(const optional<T>&, const U&);
-  template <class T, class U> constexpr bool operator>=(const U&, const optional<T>&);
+  template <class T, class U> constexpr bool operator>=(const T&, const optional<U>&);
 
   // 23.6.9, specialized algorithms
   template <class T> void swap(optional<T>&, optional<T>&) noexcept(see below );




More information about the cfe-commits mailing list