[libcxx-commits] [PATCH] D72990: [libc++][NFC] Fix experimental/type_traits namespace

Gabor Buella via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Sat Jan 18 17:39:40 PST 2020


GBuella created this revision.
GBuella added a reviewer: EricWF.
GBuella added a project: libc++.
Herald added subscribers: libcxx-commits, ldionne, christof.
Herald added a reviewer: mclow.lists.

Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D72990

Files:
  libcxx/include/experimental/type_traits


Index: libcxx/include/experimental/type_traits
===================================================================
--- libcxx/include/experimental/type_traits
+++ libcxx/include/experimental/type_traits
@@ -18,7 +18,7 @@
 
 namespace std {
 namespace experimental {
-inline namespace fundamentals_v1 {
+inline namespace fundamentals_v2 {
 
   // 3.3.2, Other type transformations
   template <class> class invocation_type; // not defined
@@ -62,7 +62,7 @@
      constexpr bool is_detected_convertible_v
        = is_detected_convertible<To, Op, Args...>::value;
 
-} // namespace fundamentals_v1
+} // namespace fundamentals_v2
 } // namespace experimental
 } // namespace std
 
@@ -79,7 +79,7 @@
 #pragma GCC system_header
 #endif
 
-_LIBCPP_BEGIN_NAMESPACE_LFTS
+_LIBCPP_BEGIN_NAMESPACE_LFTS_V2
 
 // 3.3.2, Other type transformations
 /*
@@ -147,7 +147,7 @@
   _LIBCPP_CONSTEXPR bool is_detected_convertible_v = is_detected_convertible<To, _Op, _Args...>::value;
 
 
-_LIBCPP_END_NAMESPACE_LFTS
+_LIBCPP_END_NAMESPACE_LFTS_V2
 
 #endif /* _LIBCPP_STD_VER > 11 */
 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D72990.238972.patch
Type: text/x-patch
Size: 1068 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20200119/d75de3c5/attachment.bin>


More information about the libcxx-commits mailing list