Skip to content

Commit e24ff11

Browse files
restore pair to main
1 parent 92482b7 commit e24ff11

File tree

1 file changed

+0
-2
lines changed
  • libcxx/include/__utility

1 file changed

+0
-2
lines changed

libcxx/include/__utility/pair.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,6 @@
4242
#include <__utility/forward.h>
4343
#include <__utility/move.h>
4444
#include <__utility/piecewise_construct.h>
45-
#include <type_traits>
4645

4746
#if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
4847
# pragma GCC system_header
@@ -254,7 +253,6 @@ struct pair
254253
__enable_if_t<is_assignable<first_type&, _U1 const&>::value && is_assignable<second_type&, _U2 const&>::value,
255254
int> = 0>
256255
_LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX20 pair& operator=(pair<_U1, _U2> const& __p) {
257-
// static_assert(std::is_same_v<decltype(first), decltype(__p.first)>);
258256
first = __p.first;
259257
second = __p.second;
260258
return *this;

0 commit comments

Comments
 (0)