[cfe-dev] [libcxx]: problem involving tuple_size<pair<_T1, _T2> > and tuple_element in C++03 mode
ZhangXiongpang
zhangxiongpang at gmail.com
Mon Oct 22 01:34:26 PDT 2012
I think it should be as:
-----------------------------------------------------------
--- utility_old 2012-09-18 18:48:54.000000000 +0800
+++ utility 2012-10-22 16:31:22.000000000 +0800
@@ -460,7 +460,7 @@
#endif // _LIBCPP_HAS_NO_RVALUE_REFERENCES
-#ifndef _LIBCPP_HAS_NO_VARIADICS
+#ifdef _LIBCPP_HAS_NO_VARIADICS
template <class _T1, class _T2>
class _LIBCPP_VISIBLE tuple_size<pair<_T1, _T2> >
-----------------------------------------------------------
or just remove the "#ifndef _LIBCPP_HAS_NO_VARIADICS" and its "#endif".
--
View this message in context: http://clang-developers.42468.n3.nabble.com/libcxx-problem-involving-tuple-size-pair-T1-T2-and-tuple-element-in-C-03-mode-tp4027632.html
Sent from the Clang Developers mailing list archive at Nabble.com.
More information about the cfe-dev
mailing list