Accessing static data of functions
Kagamin
spam at here.lot
Tue Oct 19 09:19:31 UTC 2021
On Tuesday, 19 October 2021 at 08:15:01 UTC, Ogi wrote:
> On Thursday, 14 October 2021 at 14:32:49 UTC, Paul Backus wrote:
>> No.
>
> Is there any solid reasoning behind this gaping hole in the
> language reflection capabilities? I understand that in general
> it is not a good idea to meddle with static variables but
> serialization/deserialization is a good example where this is
> required.
You can't serialize everything. The standard approach to
serialization is to use DTOs - types tailored for serialization.
More information about the Digitalmars-d
mailing list