www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - shouldn't auto ref parameters also be available for class template

As the title says auto ref parameters only work for function templates.
Something like

class Foo(T)
{
	void bar(auto ref T item)
	{
	}
}

doesn't work though it shouldn't be hard to implement, should it?
Jan 13 2010