digitalmars.D - shouldn't auto ref parameters also be available for class template
- Trass3r (9/9) Jan 13 2010 As the title says auto ref parameters only work for function templates.
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