Bug 1496 – Make stringof return D-style function pointer type strings

Status
RESOLVED
Resolution
FIXED
Severity
enhancement
Priority
P2
Component
dmd
Product
D
Version
D2
Platform
x86
OS
Windows
Creation time
2007-09-13T05:41:00Z
Last change time
2015-06-09T05:15:03Z
Assigned to
bugzilla
Creator
samukha

Comments

Comment #0 by samukha — 2007-09-13T05:41:29Z
It should make using function pointers with CTFE easier: alias void function() Fn; mixin (Fn.stringof ~ " pFoo;"); ---- Error: no identifier for declarator void(*)()
Comment #1 by samukha — 2008-08-02T01:46:44Z
This was fixed a number of versions back.