...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
template <class T> struct type_identity { typedef T type; };
Header: #include
<boost/type_traits/type_identity.hpp>
or #include <boost/type_traits.hpp>
Table 1.33. Examples
Expression |
Result Type |
---|---|
|
|
|
|
|
|