#utility
<utility>
ヘッダでは、その他のライブラリの至る所で使用される、幾つかの基本的な関数やクラステンプレートを定義する。
##演算子定義
名前 | 説明 |
---|---|
rel_ops |
関係演算子(namespace) |
##値の入れ替え
名前 | 説明 |
---|---|
swap |
二つのオブジェクトの値を交換する(function template) |
##転送と移動
名前 | 説明 |
---|---|
forward |
関数テンプレートの引数を転送する(function template) |
move |
左辺値を右辺値にキャストする(function template) |
move_if_noexcept |
例外を投げないオブジェクトをムーブする(function template) |
##型の値
名前 | 説明 |
---|---|
declval |
指定された型の値を得る(function template) |
##組
名前 | 説明 |
---|---|
pair |
異なる型の二つの値の組(class template) |
tuple_size |
pair の要素数を取得する(class template) |
tuple_element |
pair のi 番目の要素型を取得する(class template) |
get |
pair のi 番目の要素を参照する(function template) |
piecewise_construct_t |
pair の要素型のコンストラクタ引数を直接受け取って構築するためのタグ型(class) |
piecewise_construct |
pair の要素型のコンストラクタ引数を直接受け取って構築するためのタグ値(constant variable) |
tuple |
tuple 型の先行宣言(class template) |