Use Advanced Search to search the entire archive.
Re: Remove "generic" multiply/divide operations from Quantity
- From: Martin Desruisseaux <
>
- To:
- Subject: Re: Remove "generic" multiply/divide operations from Quantity
- Date: Mon, 20 Oct 2014 03:47:32 +0900
- Organization: Geomatys
Le 20/10/14 03:42, Werner Keil a écrit :
>
>
But you can cast to everything (except the generic argument like
>
Energy or Mass directly of course;-)
>
The user have to do it explicitly, and he get a warning.
With UNITSOFMEASUREMENT-62 lot of users would wrongly assume that
because his code compile without warning, the type are guaranteed
correct. Because this is the whole purpose of parameterized type.
Martin