|
copy_cv
template <class T, class U>
struct copy_cv
{
typedef see-below type;
};
Тип:<Tcv>, гдеcvявляются квалификаторами<U>.
Заголовок:<#include
<boost/type_traits/copy_cv.hpp>>или<#include<boost/type_traits.hpp>>
Table 1.17. Examples
|
выражение
|
Тип результата
|
<copy_cv<int,void>::type> |
<int> |
<copy_cv<intconst,void>::type> |
<intconst> |
<copy_cv<int,voidconst>::type> |
<intconst> |
<copy_cv<intvolatile,void
const>::type> |
<intconst
volatile> |
<copy_cv<int&,
voidconst>::type> |
<int&> |
<copy_cv<int*,
voidvolatile>::type> |
<int*
volatile> |
Статья copy_cv раздела Chapter 1. Boost.TypeTraits Alphabetical Reference может быть полезна для разработчиков на c++ и boost.
:: Главная :: Alphabetical Reference ::
|
|