Ruling out arbitrary cost copy construction?
Nick Sabalausky
a at a.a
Wed Oct 6 14:30:05 PDT 2010
"Andrei Alexandrescu" <SeeWebsiteForEmail at erdani.org> wrote in message
news:i8ioif$1rl3$1 at digitalmars.com...
> On 10/6/10 16:02 CDT, Nick Sabalausky wrote:
>> So you want to simplify usage of sealed ranges by forcing all classes
>> that
>> allocate in their ctor to be reference counted classes instead of GCed?
>
> Almost. Rephrased just a bit:
>
> "So you want to simplify usage of sealed ranges by forcing all structs
> that allocate in their this(this) to use reference counted internally
> instead of eager copying?"
>
> Yes :o).
>
Ok. And that means reference counting on the memory the struct allocates in
this(this) (and not on all uses of the struct itself)?
More information about the Digitalmars-d
mailing list