type_identity
template <class T>
struct type_identity
{
typedef T type;
};
Заголовок:Включить<Усиление/Type_traits/Тип_идентификацияhpp>или<повышение/Type_traitshpp>
Table 1.33. Examples
|
выражение
|
Тип результата
|
Type_identity<int>::type
|
int
|
Type_identity<int&>::type
|
int&
|
Type_identity<int*const&>::type
|
int*const&
|
Статья type_identity раздела Chapter 1. Boost.TypeTraits Alphabetical Reference может быть полезна для разработчиков на c++ и boost.
:: Главная :: Alphabetical Reference ::
|