Why is array truth tied to .ptr?

Bill Baxter dnewsgroup at billbaxter.com
Sun Dec 9 18:01:35 PST 2007


BTW, if someone does feel the current behavior is more rational or 
functional in some way, then I'd love to hear it.  Perhaps it's my 
familiarity with Python, but I just don't get why you'd want if(array) 
to mean anything other than if(array.length).

--bb



More information about the Digitalmars-d mailing list