You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
void function() fun;
import std.demangle;
pragma(msg, demangle(fun.mangleof));
This prints:
void function()* test.fun
The * is superfluous (as "function" already indicates a function pointer), and thus indicates a pointer to a function pointer.
The text was updated successfully, but these errors were encountered:
Vladimir Panteleev (@CyberShadow) reported this on 2015-10-03T14:03:42Z
Transferred from https://issues.dlang.org/show_bug.cgi?id=15143
CC List
Description
void function() fun; import std.demangle; pragma(msg, demangle(fun.mangleof)); This prints: void function()* test.fun The * is superfluous (as "function" already indicates a function pointer), and thus indicates a pointer to a function pointer.The text was updated successfully, but these errors were encountered: