DIP 50 - AST macros

Jacob Carlborg doob at me.com
Mon Nov 18 01:14:54 PST 2013


On 2013-11-18 10:12, Timon Gehr wrote:

> Well, you could do:
>
> @screwUp int foo(){ return 3+7; }
>
> assert(foo()!=10);

Sure, what I'm saying is that you can do stupid things with other 
features than macros.

-- 
/Jacob Carlborg


More information about the Digitalmars-d mailing list