[llvm] [ADT] Introduce Casting function objects (PR #165803)
Jakub Kuderski via llvm-commits
llvm-commits at lists.llvm.org
Mon Nov 3 11:46:06 PST 2025
================
@@ -841,6 +877,22 @@ template <typename... Types>
inline constexpr detail::IsaAndPresentCheckPredicate<Types...>
IsaAndPresentPred{};
+/// Function objects corresponding to the Cast types defined above.
+template <typename... Types>
+inline constexpr detail::StaticCastFunc<Types...> StaticCastTo{};
----------------
kuhar wrote:
also below
https://github.com/llvm/llvm-project/pull/165803
More information about the llvm-commits
mailing list