[Issue 4541] Intrinsic functions do not have pointers
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Fri Jun 17 03:45:55 PDT 2016
https://issues.dlang.org/show_bug.cgi?id=4541
Mathias Lang <mathias.lang at sociomantic.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |mathias.lang at sociomantic.co
| |m
--- Comment #6 from Mathias Lang <mathias.lang at sociomantic.com> ---
intrinsic have been moved to `core.math` and `std.math` nowadays (since 2.069 /
https://github.com/dlang/phobos/pull/3599 ) provide wrappers around it to
mitigate the issue.
In order to reproduce this, one can use:
import core.math;
void main() {
real function(real) c = &sin;
}
instead of the op's code.
--
More information about the Digitalmars-d-bugs
mailing list