<div dir="ltr"><div>2013/5/25 Ahuzhgairl <span dir="ltr"><<a href="mailto:bulletproofchest@gmail.com" target="_blank">bulletproofchest@gmail.com</a>></span><br></div><div class="gmail_extra"><div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">Uneditable newsgroups. Simplest case.<br>
<br>
struct Bar(T) {}<br>
<br>
struct Foo(T : A(B), A, B) {<br>
static void f() {}<br>
}<br>
<br>
void main() {<br>
Foo!(Bar!(int)).f();<br>
}<br>
</blockquote></div><br></div><div class="gmail_extra">It would work.<div><br></div><div><div>struct Bar(T) {}</div><div>struct Foo(T : A!(B), alias A, B) { // 1, 2</div><div> static void f() {}</div><div>}</div><div>
void main() {</div><div> Foo!(Bar!(int)).f();</div><div>}</div></div><div><br></div><div style>1. should use A!(B), instead of A(B)</div><div style>2. A would match to template, so should receive by TemplateAliasParameter.</div>
<div><br></div><div style>Kenji Hara</div></div></div>