c8ef wrote:

I have another simple question: If an explicit-object-parameter-declaration 
appears in the parameter list, should the requires expression evaluate to 
false? All three compilers I've tested seem to evaluate it to true, but I'm 
unsure if this is the correct behavior.

```
static_assert(requires(this int) { true; });
```

https://gcc.godbolt.org/z/9Pajb5G9s

https://github.com/llvm/llvm-project/pull/109831
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to