Friday, July 7, 2017

C++11: auto

‘auto ‘ can  be used for the type. The type will be inferred from the initializer. The old meaning of ‘auto’ as a storage specifier (stack variable) was made illegal.

No comments:

Post a Comment