[libcxx-commits] [libcxx] [libc++][variant] P2637R3: Member `visit` (`std::variant`) (PR #76447)

A. Jiang via libcxx-commits libcxx-commits at lists.llvm.org
Thu Oct 24 20:57:04 PDT 2024


================
@@ -1267,7 +1267,11 @@ def add_version_header(tc):
         },
         {
             "name": "__cpp_lib_variant",
-            "values": {"c++17": 202102},
+            "values": {
+                "c++17": 202102,  # std::visit for classes derived from std::variant
+                # "c++20": 202106,  # Fully constexpr std::variant
+                # "c++26": 202306,  # Member visit
----------------
frederick-vs-ja wrote:

I believe this FTM can be bumped now. I'll do the cleanup.

https://github.com/llvm/llvm-project/pull/76447


More information about the libcxx-commits mailing list