Strange Error using parameterized opAssign for a struct

d coder dlang.coder at gmail.com
Mon Jul 4 23:08:19 PDT 2011


Thanks Robert

Meanwhile, I also found that my code works it I change parameter type to int
instead of size_t. Looks like DMD fails because of some issue with implicit
conversions (or lack of it) between integral types.

Anyway the solution you provided is more elegant and I will adopt that.

Regards
- Puneet
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/digitalmars-d/attachments/20110705/b6cb9c9f/attachment-0001.html>


More information about the Digitalmars-d mailing list