Skip to content

Details

Agenda

The second chapter in Andrei's Alexandrescu Modern C++ design book.
We will cover:

  • Compile time assertions
  • Partial template specialization.
  • Local classes.
  • Map integral constants to types. Compile time dispatch based on numeric values. Boolean conditions.
  • Type to type mapping. For overloading and function template partial specialization.
  • Type selection, based on compile time boolean conditions.
  • Detect convertibilities and inheritance at compile time.
  • TypeInfo wrapper over type_info. Value semantic and ordering comparisons.
  • NullType, EmptyType placeholders classes.
  • TypeTraits template to offer multiple general purpose traits to help us tailor the code to specific categories of types

See you soon,
Kobi

Related topics

Embedded Systems
Programming Languages
Computer Programming
Software Development
Computer Science

You may also like