[llvm] [ADT] Introduce a `static_cast_to` (PR #165803)
Jakub Kuderski via llvm-commits
llvm-commits at lists.llvm.org
Thu Oct 30 19:03:23 PDT 2025
================
@@ -1704,6 +1704,11 @@ auto sum_of(R &&Range, E Init = E{0}) {
return accumulate(std::forward<R>(Range), std::move(Init));
}
+/// Return a range where each value of `R` is static_cast to `T`
----------------
kuhar wrote:
```suggestion
/// Returns a range where each value of `R` is static_cast to `T`
```
https://github.com/llvm/llvm-project/pull/165803
More information about the llvm-commits
mailing list