Watch the first few minutes on us! If you'd like to watch the entire video and hundreds more like it, download code samples, access offline videos and skills assessments, and use the discussion forums, log in or purchase a subscription.
Templates are a compile-time mechanism, and three recent additions to the language and library have made templates more useful than ever before. Learn about constexpr, which greatly enhances what the compiler can calculate at compile time; type traits, which make template code more robust; and static_assert, which supports compile-time assertions.
{{toc.Position}} | {{toc.Text}} |