NDC Oslo talk: Generic Programming Galore Using D

John Colvin john.loughran.colvin at gmail.com
Mon Jul 8 04:00:35 PDT 2013


On Thursday, 4 July 2013 at 16:47:36 UTC, Andrei Alexandrescu 
wrote:
> Videos for my two NDC 2013 talks are now online. Generic 
> Programming Galore using D at http://vimeo.com/68378925 and the 
> HipHop Virtual Machine at http://vimeo.com/68383350.
>
> Andrei

With regards to min in the first talk:

Is it sufficient to just check if the common type.init can be 
compared with itself? Can there not be a case where the common 
type can be compared but the 2 separate types cannot? I'm 
thinking @disable opCmp in derived classes.

I tried to test it, the compiler happily generates opCmp calls 
anyway, leaving the linker with nothing to link to.


More information about the Digitalmars-d-announce mailing list