[PATCH] D141327: [llvm][ADT] Add deduction guides for `MutableArrayRef`
David Blaikie via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Jan 9 16:01:03 PST 2023
dblaikie added a comment.
Test coverage might be nice - some static asserts about the type that's deduced is probably sufficient (`static_assert(std::is_same_v<MutableArrayRef<int, 3>, MutableArrayRef(std::declval<int[3]>())>)` or something like that for each deduction guide)?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D141327/new/
https://reviews.llvm.org/D141327
More information about the llvm-commits
mailing list