D's Destructors are What Scott Meyers Warned Us About

12345swordy alexanderheistermann at gmail.com
Sun May 27 21:11:42 UTC 2018


On Sunday, 27 May 2018 at 18:55:41 UTC, Mike Franklin wrote:
> On Sunday, 27 May 2018 at 16:06:21 UTC, 12345swordy wrote:
>
>> You are replacing runtime typeinfo with compiletime templates. 
>> Unless you can guarantee that the type information won't 
>> change during runtime, you are going to have a hard time.
>
> Read this thread for context 
> https://forum.dlang.org/post/mr7a65$2hc$1@digitalmars.com
>
> See this PR for an example 
> https://github.com/dlang/dmd/pull/7225
>
> And see this talk for a demonstration of the benefits 
> https://www.youtube.com/watch?v=endKC3fDxqs
>
> Mike

Can you actually reply to me instead of saying "read/watch this"? 
I'm not going to watch an hour, just to see how you going to 
achieve this.


More information about the Digitalmars-d mailing list