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

C++ had that too, in 1998. C++11 and C23 changed the meaning of auto to mean "infer this type".


That's helpful, but not entirely true. The old meaning remains in C23 for explicitly specified types, and the `auto` of C23 and C++11 have some notable differences: https://dev.to/pauljlucas/auto-in-c23-ij9




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

Search: