porting GCC macro to D

bearophile bearophileHUGS at lycos.com
Fri Apr 4 06:39:24 PDT 2014


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


More information about the Digitalmars-d-learn mailing list