Summary: Passing alias to member function does not work (2/2)
           Product: D
           Version: unspecified
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD

class A
    A next;

    static void fun(alias fun)(A n)

    static void gun()
        void hun(A a)

Even after making all functions static, the code does not work with the error:

template instance cannot use local 'hun' as parameter to non-global template
fun(alias fun)

Configure issuemail:
------- You are receiving this mail because: -------

Reply via email to