Something like ADL from C++?

Alexandru Ermicioi alexandru.ermicioi at gmail.com
Thu Dec 5 14:43:58 UTC 2024


On Thursday, 5 December 2024 at 13:16:06 UTC, Jonathan M Davis 
wrote:
> IIRC, the seralization stuff I saw in Java years ago did 
> something similar (though obviously with runtime reflection). 
> Though obviously, C++ isn't going to use that approach unless 
> they've added some form of UDAs in a recent version, and I 
> missed it.

Java serialisation libs still do employ annotations(UDA) for 
customising serialised output, and imho is much, much better than 
C++ approach.



More information about the Digitalmars-d mailing list