[PATCH] D126907: Deferred Concept Instantiation Implementation Take 2

Chuanqi Xu via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Jun 15 01:38:54 PDT 2022


ChuanqiXu added a comment.

I finally found some time to look at the crash. Although I haven't get an idea, I found it crash at the following one too:

  template <typename T>
  concept Constraint = true;
  
  template <typename... Signatures>
  class completion_handler_async_result {
  public:
      template <typename Initiation, Constraint RawCompletionToken>
      static void initiate(Initiation&& initiation, RawCompletionToken&& token);
  };
  
  template <typename... Signatures>
  concept Constraint2 =
      requires(float&& t) {
          completion_handler_async_result<Signatures...>::initiate(0, 0);
      };
  
  template <typename T>
  void use(int F)
      requires Constraint2<int>
  {}

I am not sure if they are the same problem.


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

https://reviews.llvm.org/D126907



More information about the cfe-commits mailing list