Accessing static data of functions

Timon Gehr timon.gehr at
Tue Oct 19 11:17:55 UTC 2021

On 19.10.21 11:19, Kagamin wrote:
> 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.

Why not?

> The standard approach to serialization is to use DTOs - types tailored for serialization.

Clearly the ambition of the OP is to do something that's better than the 
existing standard.

More information about the Digitalmars-d mailing list