[libcxx-commits] [PATCH] D153192: [libc++] Update status after Varna meeting.

H. Vetinari via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Sat Jun 17 21:27:16 PDT 2023


h-vetinari added a comment.

Bunch of places where you're currently timetravelling. ;-)



================
Comment at: libcxx/include/version:98
+__cpp_lib_fstream_native_handle                         202306L <fstream>
+__cpp_lib_function_ref                                  202606L <functional>
 __cpp_lib_gcd_lcm                                       201606L <numeric>
----------------



================
Comment at: libcxx/include/version:457
+// # define __cpp_lib_fstream_native_handle                202306L
+// # define __cpp_lib_function_ref                         202606L
+// # define __cpp_lib_hazard_pointer                       202306L
----------------



================
Comment at: libcxx/test/std/language.support/support.limits/support.limits.general/functional.version.compile.pass.cpp:26
+    __cpp_lib_copyable_function        202306L [C++26]
+    __cpp_lib_function_ref             202606L [C++26]
     __cpp_lib_invoke                   201411L [C++17]
----------------



================
Comment at: libcxx/test/std/language.support/support.limits/support.limits.general/functional.version.compile.pass.cpp:480-481
+#   endif
+#   if __cpp_lib_function_ref != 202606L
+#     error "__cpp_lib_function_ref should have the value 202606L in c++26"
+#   endif
----------------



================
Comment at: libcxx/test/std/language.support/support.limits/support.limits.general/version.version.compile.pass.cpp:91
+    __cpp_lib_fstream_native_handle                  202306L [C++26]
+    __cpp_lib_function_ref                           202606L [C++26]
+    __cpp_lib_gcd_lcm                                201606L [C++17]
----------------



================
Comment at: libcxx/test/std/language.support/support.limits/support.limits.general/version.version.compile.pass.cpp:5996-5997
+#   endif
+#   if __cpp_lib_function_ref != 202606L
+#     error "__cpp_lib_function_ref should have the value 202606L in c++26"
+#   endif
----------------



================
Comment at: libcxx/utils/generate_feature_test_macro_components.py:496
+            "name": "__cpp_lib_function_ref",
+            "values": {"c++26": 202606}, # P0792R14 function_ref: a type-erased callable reference
+            "headers": ["functional"],
----------------



Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D153192/new/

https://reviews.llvm.org/D153192



More information about the libcxx-commits mailing list