DIP78 - macros without syntax extensions

Kagamin via Digitalmars-d digitalmars-d at puremagic.com
Thu May 28 01:24:47 PDT 2015


On Thursday, 28 May 2015 at 06:39:11 UTC, Jacob Carlborg wrote:
> Auto myAssert(Auto condition, Auto message)
> {
>     return message;
> }
>
> Not so easy to tell that "myAssert" is a macro declaration just 
> by looking in the module "bar".

Well, that's the point: it's a normal function.


More information about the Digitalmars-d mailing list