[Issue 1496] New: Make stringof return D-style function pointer type strings

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Sep 13 03:41:30 PDT 2007


http://d.puremagic.com/issues/show_bug.cgi?id=1496

           Summary: Make stringof return D-style function pointer type
                    strings
           Product: D
           Version: unspecified
          Platform: PC
        OS/Version: Windows
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: DMD
        AssignedTo: bugzilla at digitalmars.com
        ReportedBy: samukha at voliacable.com


It should make using function pointers with CTFE easier:

alias void function() Fn;
mixin (Fn.stringof ~ " pFoo;");
----
Error: no identifier for declarator void(*)()


-- 



More information about the Digitalmars-d-bugs mailing list