implicit conversion of string to switch
The Switch constructors (from string) allows this sort of thing:
Switch sw;
sw = "none";
these seems to be too much automatic conversion - constructor should be explicit.
The Switch constructors (from string) allows this sort of thing:
Switch sw;
sw = "none";
these seems to be too much automatic conversion - constructor should be explicit.