3 ms·
Functions can return local types whose name is then not accessible to other code. Other code can use that type via auto though. As mentioned in another comment
by mattnewport 9y ago
Functions can return local types whose name is then not accessible to other code. Other code can use that type via auto though.
As mentioned in another comment, not being able to name or even easily refer to a type without auto is very common in generic code.