Closed robertbastian closed 1 month ago
Using the structure proposed in https://stackoverflow.com/a/53284026, where the enum implicitly converts to its ::Value and back, enabling things like switch, comparisons, and construction through Foo::Value::Bar.
::Value
switch
Foo::Value::Bar
Using the structure proposed in https://stackoverflow.com/a/53284026, where the enum implicitly converts to its
::Value
and back, enabling things likeswitch
, comparisons, and construction throughFoo::Value::Bar
.