On 7/11/2011 7:04 AM, dsimcha wrote:
Great release! I noticed that auto ref function parameters are now implemented, but only for template functions. Is there a reason for this limitation? Example:Works: void foo()(auto ref int num) { num++; } Doesn't: void foo(auto ref int num) { num++; }
auto ref changes the code generated for the function body, so it must be a template.