[Issue 13552] Type deduction doesn't fall back to alias this if postblit is disabled

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun Nov 4 21:42:27 UTC 2018


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

Walter Bright <bugzilla at digitalmars.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bugzilla at digitalmars.com

--- Comment #2 from Walter Bright <bugzilla at digitalmars.com> ---
patrickkh7788 commented on github:

"I think it should not work like this.
the Proxy type could be used with a pointer into a resource, with @disable
this(this) to prevent the pointer copy from one to other. allow this could
introduce unwanted memory pointer copy and result in a null pointer."

He's got a point. This is an invalid bug.

--


More information about the Digitalmars-d-bugs mailing list