Deserializing const fields

Jacob Carlborg doob at me.com
Thu Sep 6 22:59:10 PDT 2012


On 2012-09-06 21:54, Andrei Alexandrescu wrote:

> Except for pointers, which of course need to be handled carefully
> whether immutable or not, it's fine to deserialize into immutable fields
> as long as you clarify to the compiler you're dealing with ubyte[] and
> cast to the object type after.

Thanks.

-- 
/Jacob Carlborg


More information about the Digitalmars-d mailing list