"the last change" for ranges

Bill Baxter wbaxter at gmail.com
Wed May 20 16:13:00 PDT 2009


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



More information about the Digitalmars-d mailing list