Closures/Value capture: Difference between revisions

m
Line 8:
===Function image copying approach===
 
Non-portable. Copying a function body depends on implementation-specific semantics of volatile, if the replacement target still exists afteafter optimization, if the dest memory is suitably aligned, if the memory is executable, if it makes any function calls to a relative offset, if it refers to any memory location with an absolute address, etc. It only very occasionally works.
 
<lang c>#include <stdio.h>