Non-const std.container.Array.opIndex and alikes blocks serialization
"Nordlöw" via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Sun Sep 28 01:58:26 PDT 2014
In my strive to add msgpacking support for std.container.Array
I've been blocked by the fact that std.container.Array.opIndex
only has one overload which is non-const probably because it
returns a ref T. This doesn't place nicely with serialization.
Shouldn't inout be used here?
More information about the Digitalmars-d-learn
mailing list