[libcxx] r304966 - Revert r304955 - Fix class template deduction for scoped_lock.
Eric Fiselier via cfe-commits
cfe-commits at lists.llvm.org
Thu Jun 8 00:18:15 PDT 2017
Author: ericwf
Date: Thu Jun 8 02:18:15 2017
New Revision: 304966
URL: http://llvm.org/viewvc/llvm-project?rev=304966&view=rev
Log:
Revert r304955 - Fix class template deduction for scoped_lock.
Richard decided to fix these cases in Clang, even though they are
representative of a larger problem for more complex
cases.
Modified:
libcxx/trunk/include/mutex
Modified: libcxx/trunk/include/mutex
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/include/mutex?rev=304966&r1=304965&r2=304966&view=diff
==============================================================================
--- libcxx/trunk/include/mutex (original)
+++ libcxx/trunk/include/mutex Thu Jun 8 02:18:15 2017
@@ -546,11 +546,6 @@ private:
_MutexTuple __t_;
};
-#ifdef __cpp_deduction_guides
-template <class _Mutex> explicit scoped_lock(_Mutex&) -> scoped_lock<_Mutex>;
-explicit scoped_lock() -> scoped_lock<>;
-#endif
-
#endif // _LIBCPP_STD_VER > 14
#endif // !_LIBCPP_HAS_NO_THREADS
More information about the cfe-commits
mailing list