opCast using in template struct

Era Scarecrow rtcvb32 at yahoo.com
Thu Oct 18 14:38:16 PDT 2012


On Thursday, 18 October 2012 at 18:12:49 UTC, Simen Kjaeraas 
wrote:

> I see you have opOpBinary there - should those be opOpAssign?


  Probably. It's an easy mistake to make. Maybe the compiler 
should issue a warning when opAssign attempts and fails and 
opOpBinary is defined.


More information about the Digitalmars-d-learn mailing list