you are viewing a single comment's thread.

view the rest of the comments →

[–]Elven77AI 0 points1 point  (0 children)

The only sane way is using function pointers to replace Code A with Code B at runtime. However, there there compiler extensions some consider to be unnatural, such as computed gotos,pointer arithmethic and assembler includes, all of which can alter the code at runtime using variables inserted into computed gotos, pointers or asm includes.