Changes between Initial Version and Version 1 of Ticket #1181
- Timestamp:
- Jun 26, 2008, 9:15:31 PM (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #1181 – Description
initial v1 2 2 User can modify the enum value, But enum should be a const value(read only). 3 3 4 {{{ 5 #!cpp 4 6 enum my_enum{my_value}; 5 7 struct my_s{ enum{ my_value2 };}; … … 12 14 delete my_s_scope; 13 15 } 16 }}} 17 18 {{{ 19 #!python 14 20 #in python 15 21 module.my_enum.my_value = 1 … … 21 27 # 1 22 28 # 2 29 }}}