"the last change" for ranges

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


Bill Baxter Wrote:

> On Wed, May 20, 2009 at 4:03 PM, dsimcha <dsimcha at yahoo.com> 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.
> 
> And you can alias Foo_* Foo, so that it doesn't even look like you're
> passing around a pointer.  :-)
> 
> 
> --bb

Interesting thought. Wouldn't calls to new still require use of Foo__?



More information about the Digitalmars-d mailing list