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