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

--- Comment #20 from Steven Schveighoffer <schvei...@yahoo.com> ---
For those not following the PR in Phobos discussion, an interesting alternative
idea has been floated by ZombineDev:

char[16] get();

string s = get();

// can be lowered to:
auto _tmp = get();
scope string s = _tmp[];

Which should work and keep existing code intact. Requires dip1000 I believe.

--

Reply via email to