SuperSodaSea wrote: Wait a minute, it failes to compile this situation:
```c++ struct Foo { static int operator()(int a, int b) { return a + b; } }; void f() { const Foo foo; foo(1, 2); // 'this' argument to member function 'operator()' has type 'const Foo', but function is not marked const } ``` Let me try to fix this... https://github.com/llvm/llvm-project/pull/68485 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits