www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - Can someone check this on win32 ?

reply BBaz <bb.temp gmx.com> writes:
Seems to be fixed:

______________________
import std.math;
void main() {real function(real) c = &sin;}
______________________


https://issues.dlang.org/show_bug.cgi?id=4541

At least it works on linux x86_64.
Nov 21 2015
parent Daniel Murphy <yebbliesnospam gmail.com> writes:
On 21/11/2015 10:46 PM, BBaz wrote:
 Seems to be fixed:

 ______________________
 import std.math;
 void main() {real function(real) c = &sin;}
 ______________________


 https://issues.dlang.org/show_bug.cgi?id=4541

 At least it works on linux x86_64.
It works because of https://github.com/D-Programming-Language/phobos/pull/3599 But it only works for the std.math intrinsics, there are plenty of others without real bodies.
Dec 01 2015