You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avro.apache.org by "Thiruvalluvan M. G. (JIRA)" <ji...@apache.org> on 2017/02/18 03:31:44 UTC
[jira] [Commented] (AVRO-1940) avrogencpp, scoped enums or c++11
enum class
[ https://issues.apache.org/jira/browse/AVRO-1940?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15872960#comment-15872960 ]
Thiruvalluvan M. G. commented on AVRO-1940:
-------------------------------------------
AVRO-1958 offers a more general approach. We'll combine this and that issue here.
> avrogencpp, scoped enums or c++11 enum class
> --------------------------------------------
>
> Key: AVRO-1940
> URL: https://issues.apache.org/jira/browse/AVRO-1940
> Project: Avro
> Issue Type: Improvement
> Components: c++
> Reporter: Alexander Moriarty
> Assignee: Alexander Moriarty
>
> It would be nice if avrogencpp could generated scoped enums.
> Either with C++11 enum class or just adding an additional namespace.
> This sort of relates to the issue I opened a few days ago: #AVRO-1936 in that one way this has been gotten around in the existing AvrogencppTests.cc is by generating one namespace per schema.
> This of course could be a breaking change depending how it is implemented.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)