replace switch for mapping

Andrea Fontana via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Mon Sep 4 02:23:24 PDT 2017


On Thursday, 31 August 2017 at 23:17:52 UTC, EntangledQuanta 
wrote:
> Generally one has to use a switch to map dynamic components. 
> Given a set X and Y one can form a switch to map X to Y:
>
> [...]

Does this work for you?
https://dpaste.dzfl.pl/e2669b595539

Andrea




More information about the Digitalmars-d-learn mailing list