[libc++] Remove workarounds for the lack of deduction guides in C++17
All supported compilers have supported deduction guides in C++17 for a
while, so this isn't necessary anymore.
Differential Revision: https://reviews.llvm.org/D108213
NOKEYCHECK=True
GitOrigin-RevId: 01666904013c1514b16ace896ba346d1273a034f
diff --git a/include/queue b/include/queue
index 276fff9..2a09bac 100644
--- a/include/queue
+++ b/include/queue
@@ -358,7 +358,7 @@
operator< (const queue<_T1, _C1>& __x,const queue<_T1, _C1>& __y);
};
-#ifndef _LIBCPP_HAS_NO_DEDUCTION_GUIDES
+#if _LIBCPP_STD_VER >= 17
template<class _Container,
class = _EnableIf<!__is_allocator<_Container>::value>
>
@@ -584,7 +584,7 @@
__is_nothrow_swappable<value_compare>::value);
};
-#ifndef _LIBCPP_HAS_NO_DEDUCTION_GUIDES
+#if _LIBCPP_STD_VER >= 17
template <class _Compare,
class _Container,
class = _EnableIf<!__is_allocator<_Compare>::value>,