On 9/10/22 15:35, jwatson-CO-edu wrote:

> So, my solution
> will be to construct a catch-all struct `Payload` and have that be my
> argument type from which various functions can draw the data of their
> choice.

Two Phobos features may be helpful there:

  https://dlang.org/phobos/std_sumtype.html

  https://dlang.org/phobos/std_variant.html

Ali

Reply via email to