Closed kdheepak closed 3 years ago
should also handle words ending in s.
Should we change this macro to work like this? I'm not sure that we can always generate the plural version. I also don't know if we can make the macro work with an optional parameter (in order to avoid breaking the interface).
@scoped_enum Fruits Fruit begin
APPLE
ORANGE
end
value = Fruits.APPLE
I like the idea of this interface
We don't export this macro anywhere, so we can make the change. The existing uses won't change.
I'm opening the issue to track a feature request.