Uploaded image for project: 'Avro'
  1. Avro
  2. AVRO-1940

avrogencpp, scoped enums or c++11 enum class

    Details

    • Type: Improvement
    • Status: Patch Available
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: c++
    • Labels:
      None

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                amoriarty Alexander Moriarty
                Reporter:
                amoriarty Alexander Moriarty
              • Votes:
                1 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated: