[PATCH] [libcxx] Remove use of default function template parameters in type traits. Fixes DR20484

Agustín Bergé kaballo86 at hotmail.com
Wed Jul 30 19:30:22 PDT 2014


================
Comment at: include/type_traits:1554
@@ +1553,3 @@
+	static char  __test (
+        typename __is_destructible_apply<decltype(_VSTD::declval<_Tp1&>().~_Tp1())>::type
+    );
----------------
Isn't the `decltype` still a problem if it has to compile in C++03 mode?

http://reviews.llvm.org/D4735






More information about the cfe-commits mailing list