royjacobson added inline comments.

================
Comment at: clang/test/SemaCXX/P0960R3.cpp:54
+}
+
+void foo() {
----------------
Could you add test that this works with variadic templates? Something like

```
template<class T, class... Args>
T construct(Args... args) {
  return T(args...);
}
```

Similar to the intended use case of make_unique/emplace_back etc.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D129531/new/

https://reviews.llvm.org/D129531

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to