Changes between Initial Version and Version 2 of Ticket #95
- Timestamp:
- Nov 22, 2007, 5:10:35 PM (17 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #95
- Property Severity Unassigned → Significant
- Property Reporter changed from to
- Property Component Build scripts → Core
- Property Summary getDi?mension() should return DimensionType → getDimension() should return DimensionType
- Property Priority 1 → major
- Property Version 3.0.0 → svn-trunk
- Property Milestone imported → 3.0.0
- Property Resolution none → fixed
-
Ticket #95 – Description
initial v2 1 {{{ 2 I'd suggest to provide better type safety in getDimension() functions. 3 Now, it returns unsigned int or int type. 1 I'd suggest to provide better type safety in getDimension() functions. Now, it returns unsigned int or int type. 4 2 But in fact, it returns values equvalent to enumerators from Dimension::DimensionType enum. 5 3 … … 7 5 8 6 Example: 9 7 {{{ 10 8 Dimension::DimensionType getDimension() 11 9 { … … 13 11 } 14 12 13 }}} 14 15 15 Digression: 16 16 17 Java was a condemned language related to this feature until latest Java 5.0. 18 Just now Java 5.0 provides type safety related to enums. In previous version there were no real enums. 19 So, I'd suggest to not to continue this condemnation in C++. 20 }}} 17 Java was a condemned language related to this feature until latest Java 5.0. Just now Java 5.0 provides type safety related to enums. In previous version there were no real enums. So, I'd suggest to not to continue this condemnation in C++.