[Issue 3720] Taking address of member functions possible without an instance

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun Jan 29 21:57:40 PST 2012


http://d.puremagic.com/issues/show_bug.cgi?id=3720


yebblies <yebblies at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |accepts-invalid
                 CC|                            |yebblies at gmail.com
            Version|2.039                       |D1 & D2


--- Comment #4 from yebblies <yebblies at gmail.com> 2012-01-30 16:57:39 EST ---
Related to: Issue 2557 - inconsistent behavior when taking reference to member
without instance

This behavior encourages memory corruption.  At the least it should return
void*.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list