Postblit bug

ketmar via Digitalmars-d digitalmars-d at puremagic.com
Thu Oct 16 17:55:13 PDT 2014


On Fri, 17 Oct 2014 00:42:24 +0000
IgorStepanov via Digitalmars-d <digitalmars-d at puremagic.com> wrote:

> Can someone comment this code? Should I think that it's a bug.
it's just an anomaly. const postblit can do alot of things besides
adjusting struct fields, and it's logical that compiler cannot call
non-const methods for const objects.

yet it's still on of those "unforseen consequences" that arises from
conjunction of different features.

i don't think that it's a bug, but i think that this must be discussed
anyway, and then documented.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <http://lists.puremagic.com/pipermail/digitalmars-d/attachments/20141017/dd7f1881/attachment-0001.sig>


More information about the Digitalmars-d mailing list