Free cookie consent management tool by TermsFeed Policy Generator

Opened 15 years ago

Closed 13 years ago

Last modified 13 years ago

#414 closed enhancement (rejected)

Implicit type conversion operators for standard C# types to HL3 types

Reported by: gkronber Owned by: swagner
Priority: lowest Milestone:
Component: Data Version: 3.3.1
Keywords: Cc:

Description

It would be convenient to have implicit (or explicit) type conversion operators for the HL3 data types. Then we could write:

  DoubleData d = 3.14;

or

  private Foo(IntData i) { ... }
  
  Foo(3);

Change History (4)

comment:1 Changed 15 years ago by swagner

  • Milestone changed from 3.2 to Iteration 0

Milestone 3.2 deleted

comment:2 Changed 14 years ago by gkronber

  • Priority changed from low to lowest
  • Version changed from 3.2 to 3.3.1

This ticket has been created some time ago. The drawback of explicit type conversion operators is that the code might be more difficult to read. This ticket can be closed if we decide against explicit type conversion operators.

comment:3 Changed 13 years ago by gkronber

  • Resolution set to rejected
  • Status changed from new to closed

comment:4 Changed 13 years ago by swagner

  • Milestone HeuristicLab x.x.x deleted
Note: See TracTickets for help on using tickets.