ImportC has improved macro support

Dave P. dave287091 at gmail.com
Wed Dec 6 20:43:06 UTC 2023


On Wednesday, 6 December 2023 at 19:59:54 UTC, Walter Bright 
wrote:
> Macros with the pattern:
>
>     #define BOO ( expression )
>
> are now translated to:
>
>     auto BOO()() { return expression; }
>
> and are available for importing!

Does this work for function-like macros?


More information about the Digitalmars-d-announce mailing list