draft proposal for ref counting in D
deadalnix
deadalnix at gmail.com
Wed Oct 9 17:57:10 PDT 2013
On Wednesday, 9 October 2013 at 22:31:34 UTC, Walter Bright wrote:
> ==Arrays==
>
> Built-in arrays have no place to put a reference count. Ref
> counted arrays would hence
> become a library type, based on a ref counted class with
> overloaded operators for
> the array operations.
>
You'll soon see the roadblock here with templates and type
qualifiers. const(A!T) and A!const(T) has nothing to do with each
other as far as the compiler is concerned, and no we have no way
around this ATM.
More information about the Digitalmars-d
mailing list