eProsima / Fast-DDS-Gen

Fast-DDS IDL code generator tool. Looking for commercial support? Contact info@eprosima.com
Apache License 2.0
82 stars 60 forks source link

Please consider replacing "enum" with "enum class" #125

Closed xiaokezhou closed 1 year ago

xiaokezhou commented 2 years ago

As a feature of c++ 11, "enum class" can help fixing the declaration conflicts, caused by different enumerations with same-name members. Could you please add this feature to fastddsgen?
If fastddsgen has already supported "enum class", how can I enable it by editing the IDL file or setting the generator? Thank you!

JLBuenoLopez commented 1 year ago

I am labeling this ticket as an enhancement and moving it to the Ideas discussion forum where enhancements and feature requests are discussed.