long double in C APIs
Nicolas Sicard via Digitalmars-d
digitalmars-d at puremagic.com
Tue Sep 16 03:45:30 PDT 2014
On Monday, 15 September 2014 at 23:20:45 UTC, Walter Bright wrote:
> On 9/15/2014 3:24 PM, David Nadlinger wrote:
>> 2. It effectively forces everybody to make all conversions to
>> long double
>> explicit in their code,
>
> This is due to D currently not allowing implicit conversion to
> a struct. It's a general issue, and should be dealt with as a
> general issue, as it comes up whenever a wrapped type is used.
>
You say 'currently'. Is there a plan to allow this, if there's no
ambiguity and if the wrapping struct defines some kind of
opImplicitCast?
More information about the Digitalmars-d
mailing list