On Sunday, 10 February 2019 at 20:04:29 UTC, Per Nordlöw wrote: > Or do I have to write a trait myself? Oops, I had already posted that and got an answer at https://forum.dlang.org/post/qglynupcootocnnnpmhj@forum.dlang.org