Algorithms should be free from rich types

Dukc ajieskola at gmail.com
Sun Jul 2 18:31:34 UTC 2023


On Friday, 30 June 2023 at 14:41:00 UTC, bachmeier wrote:
> I should have the option to override those decisions. If 
> something blows up, or if my code gets broken in the future, 
> it's my fault, because I was the one that made that decision.

You do have it. `__traits(getMember, /+...+/)` as others have 
mentioned, or some ugly casting trickery. Or just patching the 
library yourself to make the member you want public.


More information about the Digitalmars-d mailing list