"the last change" for ranges

Jason House jason.james.house at gmail.com
Wed May 20 17:09:17 PDT 2009


dsimcha Wrote:

> == Quote from Jason House (jason.james.house at gmail.com)'s article
> > IMHO, D should have a type with low size and function call overhead > like a
> struct as well as reference semantics like a class.
> 
> What's wrong with a pointer to a heap-allocated struct?  I sometimes need what you
> describe, too, and I've never seen a case where this doesn't do the job.

That does the job, but it looks ugly ;) I think it's also not allowed in safe d. 



More information about the Digitalmars-d mailing list