
Template Metaprogramming with C++
By :

The standard library features a series of type traits for querying properties of types as well as performing transformations on types. These type traits are available in the <type_traits>
header as part of the type support library. There are several categories of type traits including the following:
Although looking at every single type trait is beyond the scope of this book, we will explore all these categories to see what they contain. In the following subsections, we will list the type traits (or most of them) that make up each of these categories. These lists as well as detailed information about each type trait can be found in the C++ standard (see the Further reading section at the end...