shouldn't auto ref parameters also be available for class template member functions?

Trass3r un at known.com
Wed Jan 13 07:34:16 PST 2010


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?



More information about the Digitalmars-d mailing list