DIP 50 - AST macros

Jacob Carlborg doob at me.com
Mon Nov 11 02:47:37 PST 2013


On 2013-11-11 11:28, Rikki Cattermole wrote:

> I can understand wanting to have a high level version of it in context.
> I'm just considering a high reuse language feature that could back it.
> Really it should have been added a while ago given the static assert
> trick is used a bit.
> I do actually like the idea of having the ability to call it on context
> with a bunch of extra information given to it for you. e.g. line number
> of initiation ext.

I think we want to have as much as possible of this collected in the 
same place. I don't think pragmas are a good fit for this.

-- 
/Jacob Carlborg


More information about the Digitalmars-d mailing list