[PATCH] D129781: [NFC] Introduce llvm::to_vector_of to allow creation of SmallVector<T> from range of items convertible to type T
David Blaikie via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Jul 28 18:11:37 PDT 2022
dblaikie added a comment.
In D129781#3686041 <https://reviews.llvm.org/D129781#3686041>, @hiraditya wrote:
> would it be possible to specialize `cast<>` for this?
Seems like a stretch for the concept/definition of `cast<>` though I recall there are some novel implementations of cast for other types - so I'm open to an argument to the contrary, that this conversion would be consistent with others implemented via `cast<>`.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D129781/new/
https://reviews.llvm.org/D129781
More information about the llvm-commits
mailing list