名前空間
変種
操作

std::tuple_element<std::pair>

提供: cppreference.com
< cpp‎ | utility‎ | pair

 
 
 
std::pair
メンバ関数
Original:
Member functions
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
pair::pair
pair::operator=
pair::swap
非メンバ関数
Original:
Non-member functions
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
make_pair
operator=
operator!=
operator<
operator<=
operator>
operator>=
std::swap
get(C++11)
ヘルパークラス
Original:
Helper classes
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
tuple_size(C++11)
tuple_element(C++11)
 
Defined in header <utility>
template< class T1, class T2 >
struct tuple_element<0, std::pair<T1,T2> >;
(1) (C++11およびそれ以降)
template< class T1, class T2 >
struct tuple_element<1, std::pair<T1,T2> >;
(2) (C++11およびそれ以降)
ペア用std::tuple_elementの部分的な特殊化は、タプルのような構文を使用して、ペアの要素の型を取得するために、コンパイル時の方法を提供します.
Original:
The partial specializations of std::tuple_element for pairs provide a compile-time way to obtain the types of the pair's elements, using tuple-like syntax.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

目次

[編集] メンバータイプ

最初のバージョン
Original:
First version
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
メンバー·タイプ
Original:
Member type
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Definition
type T1
第二版
Original:
Second version
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
メンバー·タイプ
Original:
Member type
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Definition
type T2

[編集]

[編集] も参照してください

指定された要素の型を取得します。
(クラステンプレートの特殊化の2つの値を比較します) [edit]
arrayの要素の型を取得します
Original:
obtains the type of the elements of array
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(クラステンプレートの特殊化の2つの値を比較します) [edit]
pairのサイズを取得します
Original:
obtains the size of a pair
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(クラステンプレートの特殊化の2つの値を比較します) [edit]