Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I came to like auto over the years, although I also use it sparingly. Sometimes the concrete types only add visual noise and not much helpful information, e.g. iterators:

auto it = some_container.begin();

Not even once have I wished to know the actual type of the iterator.





Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: