dsimcha Wrote: > == Quote from Jason House (jason.james.ho...@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.