Manu Evans
Manu Evans
`version(VisualD)` is an interesting idea, and trying some default thing in lieu of that makes sense... many/most templates can make a strong go at semantic before they hit a template...
Okay, so if the template instances are discarded regularly, and the instantiating code may not be in the editing vicinity, and if you're already carrying state like dependency tracking; maybe...
Mmmm, it seems like a really hard problem. I wonder if any other languages have a similar situation that pops up often, and have any novel solutions for their cases...
Does the MS debuginfo support arbitrary metadata? I wonder if the compiler could tag the symbol for the lambda onto the foreach line entry when foreach calls an opApply, then...
Yeah I guess that's probably the way forward. Some algorithms are not so simple/efficient to range-ify.
I'm having this problem where -j# is causing build ordering issues too. Did you solve this by moving those jobs into a separate utility project? That seems a bit lame....
If you're using C++ reasoning, the analogy isn't perfect (this isn't modelled directly from C++); you may consider every by-val struct argument in D to be like `T&&`. The struct...
I showed the corrected code immediately below...? The proper analogy to C++'s `std::move`... `move` doesn't perform a move construction or make copies; it just coerces lvalues to an rvalue reference.
Sorry, I didn't see any C++ code fragment in this thread that we're trying to mirror? If we're painting a relationship to C++ code, can we see the code? What...
Oh I see. Right; we can express that, but that's bad C++ code. `foo` should receive `S&&` to implement a proper move. In this C++ example, we just invoke an...