3 ms·
There's type inference everywhere!
by alexforster 9y ago
There's type inference everywhere!
- kccqzy 9y agoOr rather, undeclared types are assumed to be int. Is that what you are talking about?
- alexforster 9y agoThe keyword "auto" means int?
- swolchok 9y agoIt means automatic storage duration (i.e., on the stack). https://stackoverflow.com/questions/2192547/where-is-the-c-auto-keyword-used https://stackoverflow.com/questions/2192547/where-is-the-c-a...
- cygx 9y ago'auto' means 'automatic storage duration' and does not carry type information.