On 05/13/2011 06:22 PM, Jason Merrill wrote:
My initial implementation used a VEC to keep track of current deductions
in process, but I switched it to use a hash table instead; the overhead
for using a hash table rather than a VEC on the most common case (very
low deduction nesting) is small, but
In C++0x there are a couple of ways for a function signature to depend
on itself, leading to infinite recursion in substitution during template
argument deduction. This patch adds checking for that.
My initial implementation used a VEC to keep track of current deductions
in process, but I swi