Changes between Initial Version and Version 1 of Ticket #1181


Ignore:
Timestamp:
Jun 26, 2008, 9:15:31 PM (14 years ago)
Author:
Dave Abrahams
Comment:

Please try to use the WikiFormatting rules to create readable tickets.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #1181 – Description

    initial v1  
    22User can modify the enum value, But enum should be a const value(read only).
    33
     4{{{
     5#!cpp
    46enum my_enum{my_value};
    57struct my_s{ enum{ my_value2 };};
     
    1214    delete my_s_scope;
    1315}
     16}}}
     17
     18{{{
     19#!python
    1420#in python
    1521module.my_enum.my_value = 1
     
    2127#  1
    2228#  2
     29}}}