Skip to content

Template Basics (C++11-14)

Status: Pending

C++ templates are the core mechanism for generic programming. This section builds a complete foundational knowledge system covering function templates, class templates, specialization, non-type parameters, name lookup, friend injection, aliases, and CRTP.

Contents (Pending)

  1. Introduction to Templates
  2. Function Templates
  3. Class Templates
  4. Template Specialization and Partial Specialization
  5. Non-Type Template Parameters
  6. Template Argument Dependent Name Lookup
  7. Template Friends and Barton-Nackman
  8. Template Aliases and Using Declarations
  9. Templates and Inheritance (CRTP)
  10. Project: fixed_vector<T, N>

Built with VitePress