On Friday, 14 November 2025 at 23:35:02 UTC, Peter C wrote:
Here's the make it yourself way - for those don't have better things to do with their life ;)

No idea why you use a vtable here. They are useful sometimes, but also easy to ignore. A custom sum or union type would also make things a lot nicer. Here is an epic [example](https://github.com/Kapendev/joka/blob/main/examples/_006_union.d).

Reply via email to