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

Jacob Carlborg doob at me.com
Fri Feb 1 12:02:55 PST 2013


On 2013-02-01 16:55, bearophile wrote:
> Jacob Carlborg:
>
>> But to answer your question, no. It didn't cross my mind.
>
> OK. (I have asked because syntax costs, so it's good to use it as much
> as possible, if it doesn't lead to ambiguities).

Yes, that's why I was thinking if we could do like Scala and implement 
it as in library, as a macro.

> I meant something more like (the now closed) Treehydra:
> https://developer.mozilla.org/en-US/docs/Treehydra_Manual

Could you give a quick, simple and small example of how you would like 
it to work in pseudo code or D?

-- 
/Jacob Carlborg


More information about the Digitalmars-d mailing list