ketmar:
and have the same effect as in C code: all MYMACRO content (this can be almost anything) *always* inlined.
Define a function. And in D there is no way to require a sure inline. Some people have asked for a __forceinline but Andrei&Walter don't seem sufficiently interested.
Bye, bearophile