[Issue 4733] Possible bugs caused by dynamic arrays in boolean evaluation context

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Dec 10 05:51:35 PST 2013


https://d.puremagic.com/issues/show_bug.cgi?id=4733



--- Comment #22 from bearophile_hugs at eml.cc 2013-12-10 05:51:18 PST ---
> It's not something you do often. I don't think I have 1 case in my code where I
> need to do this.

I have few usages of array.ptr in my D code: for variable length structs that
contain a zero-length array, for interfacing with C code, etc, but none of them
come from "if(array)".

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


More information about the Digitalmars-d-bugs mailing list