[Issue 8269] The 'with statement' does not observe temporary object lifetime

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Sun Aug 10 00:36:44 PDT 2014


https://issues.dlang.org/show_bug.cgi?id=8269

--- Comment #16 from yebblies <yebblies at gmail.com> ---
(In reply to Orvid King from comment #15)
> What does it do about postblits in this case?

The same thing that happens with

auto tmp = someRvalue();
with(tmp)
{
}

--


More information about the Digitalmars-d-bugs mailing list