[cfe-commits] [libcxx] r167491 - /libcxx/trunk/include/utility
Howard Hinnant
hhinnant at apple.com
Tue Nov 6 13:42:46 PST 2012
Author: hhinnant
Date: Tue Nov 6 15:42:45 2012
New Revision: 167491
URL: http://llvm.org/viewvc/llvm-project?rev=167491&view=rev
Log:
Enable the tuple interface of pair in C++03 mode.
Modified:
libcxx/trunk/include/utility
Modified: libcxx/trunk/include/utility
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/include/utility?rev=167491&r1=167490&r2=167491&view=diff
==============================================================================
--- libcxx/trunk/include/utility (original)
+++ libcxx/trunk/include/utility Tue Nov 6 15:42:45 2012
@@ -460,8 +460,6 @@
#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 @@
#endif // _LIBCPP_HAS_NO_RVALUE_REFERENCES
-#endif // _LIBCPP_HAS_NO_VARIADICS
-
_LIBCPP_END_NAMESPACE_STD
#endif // _LIBCPP_UTILITY
More information about the cfe-commits
mailing list