[Issue 620] Can't use property syntax with a template function

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun Oct 31 12:30:10 PDT 2010


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



--- Comment #3 from Simen Kjaeraas <simen.kjaras at gmail.com> 2010-10-31 12:29:14 PDT ---
Some hacking about showed me that opDispatch has a workaround for this problem,
by using a two-layer approach:

template opDispatch( string name ) {
    auto opDispatch( T... )( T args ) {
        // Do something!
    }
}

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list