blob: 89453f9f10c45f953ca0d9744d7eb3f7ff3222b5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
// Build don't link:
// GROUPS passed operators
struct A {
int x;
};
int operator()(A x,float y) { // MUST be a member function// ERROR - .*
return 1;
}
int main() {
A x;
x(1.0); // ERROR - no match for call
}
|