What's missing to make D2 feature complete?

Martin Nowak via Digitalmars-d digitalmars-d at puremagic.com
Thu Dec 25 01:50:58 PST 2014


On Monday, 22 December 2014 at 11:06:13 UTC, Francesco Cattoglio 
wrote:
> On Saturday, 20 December 2014 at 20:13:31 UTC, weaselcat wrote:
>> On Saturday, 20 December 2014 at 17:40:06 UTC, Martin Nowak 
>> wrote:
>> Unique! and RefCounted! in a usable state.
>
> +1
>
> No RefCounted classes and non-reentrant GC makes it really 
> awkward to write libraries that handle non-memory resources in 
> a nice way.

Can't you combine RefCounted with Scoped?

> Not being able to allocate during ~this() can be extremely 
> annoying for me.

It's a bug (limitation), eventually it will get fixed.


More information about the Digitalmars-d mailing list