Today I came across this piece of code:
int main() {
struct Foo {};
struct Bar {};
Foo(b)(int (Bar*c)); // ?
return 0;
}
I have absolutely no idea what is going on. My compiler (VC14) warns me about unused prototyped function?
What does this line do (declare a function: which name, what parameters and return type? How to call it?)
Foo(b)(int (Bar*c));
Thank you in advance for helping me out!