<div dir="ltr"><div>Thanks for the patch and report!</div><div><br></div>Can this check be defeated with mutually recursive class template inheritance? I was thinking something like this:<div><br></div><div><div>...</div><div>template <typename T, typename X></div><div>struct FooWrapper : FooTemplated<T, X> { };</div><div><br></div><div>// Full template spec</div><div>template <class T, class X></div><div>class FooTemplated : public FooWrapper<T, Bar> {</div></div><div>...</div><div><br></div><div>Maybe we should use a set of visited RDs?</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, May 27, 2016 at 9:56 PM, Will Wilson <span dir="ltr"><<a href="mailto:will@indefiant.com" target="_blank">will@indefiant.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi Alexey,<div><br></div><div>A customer encountered a stack overflow in the code from r229817. I've created a small repro for testing the issue and a fix. The fix should also better deal with lookup into partially specialized base templates.</div><div><br></div><div>Test case included and tested against latest trunk.<br clear="all"><div><br></div><div>Let me know if it looks acceptable!</div><div><br></div><div>Cheers,</div><div>Will.</div><span class="HOEnZb"><font color="#888888"><div><br></div>-- <br><div><div dir="ltr"><div><span style="color:rgb(68,68,68);font-family:Arial,Helvetica,sans-serif;background-color:rgb(255,255,255)"><b>Indefiant </b>: <a href="http://www.indefiant.com" target="_blank">http://www.indefiant.com</a></span></div><div><span style="font-family:Arial,Helvetica,sans-serif"><font color="#999999">Home of Recode : Runtime C++ Editing for VS</font></span></div></div></div>
</font></span></div></div>
</blockquote></div><br></div>