Comment #3 on issue 515 by kara...@gmail.com: More intelligent enums
http://code.google.com/p/protobuf/issues/detail?id=515

Instead of `namespace Bar { enum ...`, we could use `enum class Bar ...', or perhaps `struct Bar { enum ...`.

For myself, I don't care much about duplicated enum value names, but I would certainly like to use scoped enums for style and clarity reasons.

I suppose the reasons for adding something like this to protobuf would be similar to the reasons for why `enum class` was recently added to C++.

--
You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

--
You received this message because you are subscribed to the Google Groups "Protocol 
Buffers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to protobuf+unsubscr...@googlegroups.com.
To post to this group, send email to protobuf@googlegroups.com.
Visit this group at http://groups.google.com/group/protobuf.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to