https://issues.dlang.org/show_bug.cgi?id=21929
--- Comment #8 from deadalnix <[email protected]> --- (In reply to a11e99z from comment #7) > C++ byRef & byValue capturing is more viable. You'll not that C++'s std::function will allocate on heap if you capture. The equivalent code in C++ WILL allocate in a loop too. --
