C++: Abstraction mechanisms

Basic classes

Templates

‘A class or a function that is parametrized with a set of types or values’. A compile-time mechanism (no runtime overhead).