Utility library
提供:cppreference.com
< cpp
|
|
This page has been machine-translated from the English version of the wiki using Google Translate.
The translation may contain errors and awkward wording. Hover over text to see the original version. You can help to fix errors and improve the translation. For instructions click here. |
C + +のビットカウントから部分関数適用までの機能を提供するユーティリティライブラリが多数含まれています。これらのライブラリは、大きく二つのグループに分けることができます
Original:
C++ includes a variety of utility libraries that provide functionality ranging from ビットカウント to 部分関数適用. These libraries can be broadly divided into two groups:
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
- 言語サポート·ライブラリー、およびOriginal:language support libraries, andThe text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions. - 汎用ライブラリ.Original:general-purpose libraries.The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
目次 |
[編集] 言語サポート
言語サポートライブラリは、クラスと言語機能とサポート共通言語のイディオムと緊密な連携機能を提供する.
Original:
Language support libraries provide classes and functions that interact closely with language features and support common language idioms.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
[編集] 支援を入力します
基本的な型(例えばstd::size_t、std::nullptr_t)、RTTI(例えばstd::type_info)、型の特徴(例えばstd::is_integral、std::rank)
Original:
Basic types (e.g. std::size_t, std::nullptr_t), RTTI (e.g. std::type_info), type traits (e.g. std::is_integral, std::rank)
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
[編集] 動的なメモリ管理
スマートポインタ(例えばstd::shared_ptr)、アロケータ(例えばstd::allocator)、Cスタイルのメモリ管理(例えばstd::malloc)
Original:
Smart pointers (e.g. std::shared_ptr), allocators (e.g. std::allocator), C-style memory management (e.g. std::malloc)
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
[編集] エラー処理
例外(例えばstd::exception、std::logic_error)、アサーション(例えばassert)
Original:
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
[編集] 初期化リスト
| (C++11) |
初期化子リストの構文の使用が非明瞭な古いデータの型を初期化することができます Original: allows the use of 初期化子リストの構文 to initialize non plain-old-data types The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (クラステンプレート) |
[編集] 可変個引数関数
任意の数のパラメータ(例えばva_start、va_arg、va_end経由)を取る関数のサポート
Original:
Support for functions that take an arbitrary number of parameters (via e.g. va_start, va_arg, va_end)
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
[編集] 汎用ユーティリティ
[編集] プログラムユーティリティ
終端(例えばstd::abort、std::atexit)、環境(例えばstd::system)、信号(例えばstd::raise)
Original:
Termination (e.g. std::abort, std::atexit), environment (e.g. std::system), signals (e.g. std::raise)
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
[編集] 日付と時刻
タイムトラッキング(例えばstd::chrono::time_point、std::chrono::duration)、Cスタイルの日付と時刻(例えばstd::time、std::clock)
Original:
Time tracking (e.g. std::chrono::time_point, std::chrono::duration), C-style date and time (e.g. std::time, std::clock)
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
[編集] bitsetの
| 一定の長さのビット配列を実装します Original: implements constant length bit array The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (クラス) | |
[編集] 関数オブジェクト
パーシャル機能·アプリケーション(例えばstd::bind)、一般的な機能(例えばstd::function)、事前定義されたファンクタ(例えばstd::plus、std::equal_to)
Original:
Partial function application (e.g. std::bind), generic functions (e.g. std::function), predefined functors (e.g. std::plus, std::equal_to)
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
[編集] ペアとタプル
| すなわち値のペア、バイナリのタプルを実装しています Original: implements binary tuple, i.e. a pair of values The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (クラステンプレート) | |
| (C++11) |
ことによると異なった型の要素を保持する固定サイズのコンテナを実装します Original: implements fixed size container, which holds elements of possibly different types The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (クラステンプレート) |
| (C++11) |
タグの種類は、区分建設のための正しい関数のオーバーロードを選択するために使用 Original: tag type used to select correct function overload for piecewise construction The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (クラス) |
| (C++11) |
型のオブジェクト piecewise_construct_tは、区分的に構築するための機能を明確にするために使用 Original: an object of type piecewise_construct_t used to disambiguate functions for piecewise construction The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (定数) |
[編集] フォワード、スワップ、および移動
| スワップ2つのオブジェクトの値 Original: swaps the values of two objects The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (関数テンプレート) | |
| (C++11) |
転送関数の引数 Original: forwards a function argument The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (関数テンプレート) |
| (C++11) |
右辺値参照を取得します Original: obtains an rvalue reference The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (関数テンプレート) |
| (C++11) |
ムーブコンストラクタがスローされない場合、右辺値参照を取得します Original: obtains an rvalue reference if the move constructor does not throw The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (関数テンプレート) |
| (C++11) |
未評価のコンテキストで、式の型を取得します Original: obtains the type of expression in unevaluated context The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (関数テンプレート) |
[編集] 関係演算子
| Defined in namespace
std::rel_ops | |
| automatically generates comparison operators based on user-defined operator== and operator< (関数テンプレート) | |
[編集] ハッシュをサポート
| (C++11) |
hash function object (クラステンプレート) |