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

Dynamically Typed C/C++

Name: Anonymous 2013-08-03 5:07

consider: template <T> T f(T X) {return T.increment();}

if we delay compilation of f to runtime, then f can take any, even unknown beforehand type. I.e. a C++ function becomes equivalent to Lisp function, without sacrificing any efficiency or changing semantics, beside startup time. And the only requirement is inclusion of compiler into runtime.

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