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

Jacob Carlborg doob at me.com
Fri Feb 1 07:54:35 PST 2013


On 2013-02-01 16:36, Timon Gehr wrote:

> Analysis and rewriting.

I'm just thinking an API similar to a reflection API. Something like:

Ast!(Class) c;

foreach (Ast!(Member) m ; c.members)
{
     // do something with each member
}

Sure it would be easier and better looking with pattern matching.

-- 
/Jacob Carlborg


More information about the Digitalmars-d mailing list