[Issue 1778] Can not create pointer to class reference
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Thu Jan 17 14:45:19 PST 2008
http://d.puremagic.com/issues/show_bug.cgi?id=1778
------- Comment #5 from bugzilla at digitalmars.com 2008-01-17 16:45 -------
1) Why is it wrong for real live cases?
2) You're right, pc should be declared C**
3) The return "worked" because the value still existed, undamaged, on the
stack. The stack cleanup just adjusts the ESP, it doesn't actually stomp on the
values
--
More information about the Digitalmars-d-bugs
mailing list