Re: Templates, D way

2017-09-08 Thread Corey Lubin via Digitalmars-d
On Friday, 8 September 2017 at 10:27:57 UTC, Corey Lubin wrote: On Tuesday, 5 September 2017 at 12:41:45 UTC, Computermatronic wrote: I find it very strange that this works, as a non-mixin template should not be able to capture the context of where it was instantiated. If you take the alias

Re: Templates, D way

2017-09-08 Thread Corey Lubin via Digitalmars-d
On Tuesday, 5 September 2017 at 12:41:45 UTC, Computermatronic wrote: I find it very strange that this works, as a non-mixin template should not be able to capture the context of where it was instantiated. If you take the alias template parameters out it behaves how it should (that is an

Re: Ali's slides from his C++Now talk

2017-05-28 Thread Corey Lubin via Digitalmars-d
On Wednesday, 24 May 2017 at 00:05:54 UTC, Ali Çehreli wrote: On 05/23/2017 04:31 PM, Joakim wrote: http://ddili.org/AliCehreli_CppNow_2017_Competitive_Advantage_with_D.no_pause.pdf "Functions defined as @safe and modules compiled with -safe cannot corrupt memory." (slide 90) Is there

Re: Ali's slides from his C++Now talk

2017-05-28 Thread Corey Lubin via Digitalmars-d
On Tuesday, 23 May 2017 at 23:31:48 UTC, Joakim wrote: Enjoying going through these: http://ddili.org/AliCehreli_CppNow_2017_Competitive_Advantage_with_D.no_pause.pdf I was particularly amused by the very last slide... Clever. :)) If anyone happens to notice when the video goes up, a quick