feature request: __ARGS__ for logging (cf __FILE__, __LINE__, __FUNC___)

Jacob Carlborg doob at me.com
Sun Feb 3 04:15:10 PST 2013


On 2013-02-03 08:15, dennis luehring wrote:

> from the text
>
> "...The first parameter of macro is always of the type Context..."
>
> is then there a real need for context as an parameter - it semanticly
> similar to "this" in the class scope - i would prefer a "context"
> keyword inside of the macro scope

One reason is to not have to introduce a new keyword, which in general 
is not very popular around here.

Note that "macro" keyword is already reserved for future use, just for a 
feature like this.

-- 
/Jacob Carlborg


More information about the Digitalmars-d mailing list