D as a betterC a game changer ?

Nicholas Wilson iamthewilsonator at hotmail.com
Sat Dec 30 23:04:21 UTC 2017


On Thursday, 28 December 2017 at 03:31:19 UTC, ChangLong wrote:
> Hi Walter, Can you take a look at this betterC bug:  
> https://issues.dlang.org/show_bug.cgi?id=18099
>
> ==========
>         struct D()
>         {
>                 struct V {
>                         ~this() {
>                         }
>                 }
>                 auto get() {
>                         V v ;
>                         return v ;
>                 }
>         }
>         alias T = D!();
> ============
> Error: Cannot use throw statements with -betterC
> a.d(12): Error: template instance a.D!() error instantiating
>
>
> It is a block for implement auto RefCount in betterC.  Since 
> there is no GC,  auto RefCount is the way to make D work far 
> more useable then pure C, and it relay on this bug to be fixed.

I can hear him already, "Post it on buzzkill or it won't get 
fixed!"


More information about the Digitalmars-d mailing list