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





------- Comment #1 from [EMAIL PROTECTED]  2008-12-08 15:47 -------
Note that in the case where you want the default value to depend on other
template parameters, such as:

struct f(T, alias func=foo!(T))

This is much tricker.  I found that the cleanest way to workaround is to avoid
default parameters, and just alias the less specific ones:

struct f(T, alias func)
{
}

template f(T)
{
  alias f!(T, foo!(T)) f;
}


-- 

Reply via email to