2 ms·
This The problem is not the auto keyword. The problem is C++ And auto is a very welcome improvement. No I don't want to type SomeCollection<MyStuff> items = n
by raverbashing 11y ago
This
The problem is not the auto keyword. The problem is C++
And auto is a very welcome improvement. No I don't want to type SomeCollection<MyStuff> items = new SomeCollection<MyStuff>();
The compiler already knows what 'items' should be, I don't need to repeat myself.
- wyldfire 11y agoSorry, "this" is a reserved word. ;)
- raverbashing 11y agothis; should do nothing (inside a class method) ;)