[Issue 3608] Allow isExpression and templates to capture template parameters and FQN of template

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Nov 8 05:22:16 PST 2010


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


Simen Kjaeraas <simen.kjaras at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Version|future                      |D2
           Severity|enhancement                 |normal


--- Comment #1 from Simen Kjaeraas <simen.kjaras at gmail.com> 2010-11-08 05:21:14 PST ---
Judging by the recent resolution of bug 1714, this is not so much an
enhancement as a planned feature. Updating the syntax:

template foo( T : U!V, alias U, V... ) {
    //...
}

template BaseTemplate( T : U!( V ), alias U, V... ) {
    alias U BaseTemplate;
}
template TemplateParameters( T : U!( V ), alias U, V... ) {
    alias V TemplateParameters;
}

This may be a separate bug, as it concerns variadic parameter lists, something
bug 1714 fails to take into account.

-- 
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