[PATCH] [libcxx] Add <experimental/type_traits> for LFTS

Agustín Bergé kaballo86 at hotmail.com
Sat Oct 11 11:55:04 PDT 2014


================
Comment at: include/experimental/type_traits:416
@@ +415,3 @@
+
+#endif /* __has_feature(cxx_variable_templates) */
+
----------------
Shouldn't this go right after `is_convertible_v`?

================
Comment at: test/experimental/utilities/meta/meta.type.synop/meta.unary.prop.pass.cpp:108
@@ +107,3 @@
+        typedef void T;
+        static_assert(ex::is_literal_type_v<T>, "");
+        static_assert(std::is_same<decltype(ex::is_literal_type_v<T>), const bool>::value, "");
----------------
`void` is not a literal type in C++11, does that matter?

http://reviews.llvm.org/D5742






More information about the cfe-commits mailing list