Changes between Initial Version and Version 2 of Ticket #95


Ignore:
Timestamp:
Nov 22, 2007, 5:10:35 PM (17 years ago)
Author:
mloskot
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #95

    • Property Severity UnassignedSignificant
    • Property Reporter changed from mateusz@… to mloskot
    • Property Component Build scriptsCore
    • Property Summary getDi?mension() should return DimensionTypegetDimension() should return DimensionType
    • Property Priority 1major
    • Property Version 3.0.0svn-trunk
    • Property Milestone imported3.0.0
    • Property Resolution nonefixed
  • 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.
     1I'd suggest to provide better type safety in getDimension() functions. Now, it returns unsigned int or int type.
    42But in fact, it returns values equvalent to enumerators from Dimension::DimensionType enum.
    53
     
    75
    86Example:
    9 
     7{{{
    108Dimension::DimensionType getDimension()
    119{
     
    1311}
    1412
     13}}}
     14
    1515Digression:
    1616
    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 }}}
     17Java 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++.