Bug 3004 - Replace plain enums by C++11 enum classes
Replace plain enums by C++11 enum classes
Status: NEW
Product: ns-3
Classification: Unclassified
Component: general
All All
: P5 enhancement
Assigned To: ns-bugs
Depends on:
  Show dependency treegraph
Reported: 2018-11-03 14:04 EDT by sebastien.deronne
Modified: 2018-11-03 14:04 EDT (History)
0 users

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description sebastien.deronne 2018-11-03 14:04:00 EDT
C++11 enum classes has definitely advantages over legacy plain enums.
I remind this once popped up in the discussions with Tom and I faced this recently in another code. I was surprised to see ns-3 still makes use of the plain enums everywhere.

I started on my side to change this for the wifi module.