Uphill

Jacob Carlborg via Digitalmars-d digitalmars-d at puremagic.com
Tue Jun 2 12:56:47 PDT 2015


On 2015-06-02 08:32, Jonathan M Davis wrote:

> D's semantics for __FILE__ and __LINE__ are so much better than C++'s. I
> sorely miss D's semantics for them whenever I'm in C++. Having them get
> the values from the call site rather than the declaration site is so
> much more useful that it's not even funny.

Yeah, it's pretty cool. Swift also evaluates them in the same way as D, 
they even credited D in their blog post :)

-- 
/Jacob Carlborg


More information about the Digitalmars-d mailing list