[PATCH] D111283: [clang] template / auto deduction deduces common sugar

Matheus Izvekov via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Sep 13 03:54:09 PDT 2022


mizvekov added a comment.

Even simpler:

  template <class T> using P = T;
  
  template <class T, class... A> void j(P<T>, T, A...);
  template <class T> void j(P<T>, T);
  
  void g() { j(P<int>{}, int{}); }


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D111283



More information about the cfe-commits mailing list