Tag Archives: Type Inference

Lesson #1: ‘auto’

The 'auto' keyword adds type-inference to C++, such that instead of explicitly defining the type when declaring for a variable, you rather simply assign it a value/expression, and let the compiler infer the type based on what is assigned. As such, it's great at reducing verbosity, and it's a good feature to start this blog […]