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

--- Comment #6 from Walter Bright <[email protected]> ---
(In reply to Iain Buclaw from comment #5)
>     // GDC and LDC forces 'auto ref' to be 'ref', even when the
>     // front-end decides to drop the 'ref' from the signature.
>     ref std_string opAssign()(const auto ref std_string rhs)

Do you mean it does this for all functions, or just for opAssign? That
regardless of `ref` or `auto ref` or ``, it passes by `ref`?

--

Reply via email to