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

Jacob Carlborg doob at me.com
Sun Feb 3 04:24:30 PST 2013


On 2013-02-03 03:36, timotheecour wrote:
> seems like my original post regarding __ARGS__ was completely hijacked
> by the discussion on AST macros (however fruitful and interesting). I
> agree macros would solve this issue while providing a much more general
> solution, however, it's very unclear when that would be implemented,
> surely not anytime soon.
>
> Is there any other feedback on introducing __ARGS__  (see first post)
> besides AST macros being better? It's much simpler implementation-wise.

Sorry about that. I don't think that __ARGS__ is a bad idea, I just 
think that there are several features in D which could be replaced with 
a library solution using AST macros (if those were available).

-- 
/Jacob Carlborg


More information about the Digitalmars-d mailing list