[PATCH] D53847: [C++2a] P0634r3: Down with typename!

Corentin Jabot via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Sep 27 14:33:52 PDT 2022


cor3ntin added a comment.

Good catch

  template<typename T>
  concept K = requires (typename T::Type X) { // (3)
  X.next();
  }

That typename should be optional. Can you add a test for that? If it works you can mark P2092 <https://reviews.llvm.org/P2092> as fully supported.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D53847



More information about the cfe-commits mailing list