Enable the tuple interface of pair in C++03 mode.

llvm-svn: 167491
This commit is contained in:
Howard Hinnant 2012-11-06 21:42:45 +00:00
parent 1c8358c13c
commit a01739a03a
1 changed files with 0 additions and 4 deletions
libcxx/include

View File

@ -460,8 +460,6 @@ make_pair(_T1 __x, _T2 __y)
#endif // _LIBCPP_HAS_NO_RVALUE_REFERENCES
#ifndef _LIBCPP_HAS_NO_VARIADICS
template <class _T1, class _T2>
class _LIBCPP_VISIBLE tuple_size<pair<_T1, _T2> >
: public integral_constant<size_t, 2> {};
@ -580,8 +578,6 @@ get(pair<_T1, _T2>&& __p) _NOEXCEPT
#endif // _LIBCPP_HAS_NO_RVALUE_REFERENCES
#endif // _LIBCPP_HAS_NO_VARIADICS
_LIBCPP_END_NAMESPACE_STD
#endif // _LIBCPP_UTILITY