May 2017
Intermediate to advanced
590 pages
17h 18m
English
All type traits, introduced in C++11, are available in the namespace std in the <type_traits> header.
Type traits can be used in many metaprogramming contexts, and throughout the book, we have seen them used in various situations. In this recipe, we will summarize some of these use cases and see how type traits work.
In this recipe, we will discuss full and partial template specialization. Familiarity with these concepts will help you better understand the way type traits work.
Read now
Unlock full access