<div dir="auto"><div><br style="font-family:sans-serif"><span style="font-family:sans-serif">writeln(bar!(Bar,Foo,int)(Bar!</span><wbr style="font-family:sans-serif"><span style="font-family:sans-serif">(Foo,int)()));</span><br><div class="gmail_extra"><br><div class="gmail_quote">Dne 3. 10. 2017 3:55 odpoledne napsal uživatel "sighoya via Digitalmars-d-learn" <<a href="mailto:digitalmars-d-learn@puremagic.com">digitalmars-d-learn@puremagic.com</a>>:<br type="attribution"><blockquote class="quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">But when I write this to:<br>
<br>
writeln(bar!(Bar,Foo,int)(Bar!<wbr>(Foo,int)));<br>
<br>
it complains by:<br>
<br>
test.d(11): Error: template instance T!(S!int) does not match template declaration Bar(R, S)<br>
test.d(11): Error: template instance T!(S!int) does not match template declaration Bar(R, S)<br>
test.d(17): Error: template instance test.bar!(Bar, Foo, int) error instantiating<br>
<br>
<br>
</blockquote></div><br></div></div></div>