digitalmars.D - shouldn't auto ref parameters also be available for class template
- Trass3r <un known.com> Jan 13 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?
Jan 13 2010








Trass3r <un known.com>