Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

error

Name: Anonymous 2007-11-17 16:07

`f' declared as function returning a function
int *f(int(*g)(int))(int){
 int ret(int n){
  return g(g(n));
 }
 return ret;
}

Name: Anonymous 2007-11-18 0:57

No, you can't have a pseudo-anonymous function in C/C++.
Why the fuck not?

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List