This repo re-create examples of Jon Kalb's presentaion at Meeting C++ 2019. The following is his slides.
- The Simplest Function Template on page 4.
- CRTP—Static Polymorphism #TODO
- Type Traits—Basic Metaprogramming
- is_int on page 15.
- is_same on page 16.
- Type Functions on page 17.
- Compile-time Conditionals
- Tag Dispatch #TODO
- Compile-time Conditional Overloading
- Simple Copy on page 23.
- Enable If on page 25. Note: it is a similar example.
- Copyable on page 25.
- Constexpr Conditional on page 29.