Is there a cleaner way of doing this?

Mark via Digitalmars-d digitalmars-d at puremagic.com
Sat Aug 12 08:04:36 PDT 2017


On Saturday, 12 August 2017 at 15:02:34 UTC, Mark wrote:
> I was going to suggest using Algebraic/Variant, as in:
>
>     void initialize(Algebraic!(int,void)) {

This should read:
       void initialize(Algebraic!(int,void) param) {




More information about the Digitalmars-d mailing list