[libcxx-commits] [libcxx] Speed up compilation of common uses of std::visit() (PR #164196)
Nikolas Klauser via libcxx-commits
libcxx-commits at lists.llvm.org
Wed Jul 29 23:51:23 PDT 2026
================
@@ -1332,6 +1332,10 @@ private:
friend struct __variant_detail::__visitation::__variant;
};
+template <class... _Types>
+variant<_Types...> __upcast_to_variant(const volatile variant<_Types...>*);
----------------
philnik777 wrote:
Does a test fail if this is removed? If not, could you add one?
https://github.com/llvm/llvm-project/pull/164196
More information about the libcxx-commits
mailing list