opAssign and const?

Era Scarecrow rtcvb32 at yahoo.com
Thu May 3 23:52:49 PDT 2012


On Friday, 4 May 2012 at 06:48:40 UTC, Jonathan M Davis wrote:
> If you make the one which isn't a ref const as well, it'll 
> probably work.

  Yeah I think so too. It will just be either a direct copy or I 
cast the object as const and pass it through. Seems like extra 
work to me and should be handled by the compiler. Anyways, thanks 
for looking at the problem with me.


More information about the Digitalmars-d-learn mailing list