Is there a weak pointer or references in D?
Era Scarecrow
rtcvb32 at yahoo.com
Sat Jan 12 18:36:34 PST 2013
On Sunday, 13 January 2013 at 00:37:07 UTC, Charles Hixson wrote:
> P.S.: Perhaps you're thinking of unions with a combination of
> floats and pointers in them. Legal, I think, but still a
> really bad idea.
No; Unless you flag every relevant portion as pointer/non
pointer, then a float can get confused as a pointer. To my
understanding, things aren't tagged that way.
More information about the Digitalmars-d-learn
mailing list