名前空間
変種
操作

Dynamic memory management

提供: cppreference.com
< cpp


 
 
ユーティリティライブラリ
支援を入力します (basic types, RTTI, type traits)
動的なメモリ管理
エラー処理
プログラムユーティリティ
可変個引数関数
日付と時刻
関数オブジェクト
initializer_list(C++11)
bitset
hash(C++11)
関係演算子
Original:
Relational operators
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
rel_ops::operator!=
rel_ops::operator>
rel_ops::operator<=
rel_ops::operator>=
ペアとタプル
Original:
Pairs and tuples
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
pair
tuple(C++11)
piecewise_construct_t(C++11)
piecewise_construct(C++11)
フォワード、スワップ、および移動
Original:
Swap, forward and move
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
swap
forward(C++11)
move(C++11)
move_if_noexcept(C++11)
declval(C++11)
 
動的なメモリ管理
低レベルのメモリ管理
アロケータ
Original:
Allocators
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
allocator
allocator_traits(C++11)
allocator_arg_t(C++11)
allocator_arg(C++11)
uses_allocator(C++11)
scoped_allocator_adaptor(C++11)
ストレージを初期化されていない
Original:
Uninitialized storage
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
uninitialized_copy
uninitialized_copy_n(C++11)
uninitialized_fill
uninitialized_fill_n
raw_storage_iterator
get_temporary_buffer
return_temporary_buffer
スマートポインタ
Original:
Smart pointers
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
unique_ptr(C++11)
shared_ptr(C++11)
weak_ptr(C++11)
auto_ptr(廃止予定)
owner_less(C++11)
enable_shared_from_this(C++11)
bad_weak_ptr(C++11)
default_delete(C++11)
ガベージコレクションをサポートしています
Original:
Garbage collection support
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
declare_reachable(C++11)
undeclare_reachable(C++11)
declare_no_pointers(C++11)
undeclare_no_pointers(C++11)
pointer_safety(C++11)
get_pointer_safety(C++11)
その他
Original:
Miscellaneous
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
pointer_traits(C++11)
addressof(C++11)
align(C++11)
Cライブラリ
Original:
C Library
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
 

目次

[編集] スマートポインタ

スマートポインタは自動例外セーフなオブジェクトの寿命管理を有効に.
Original:
Smart pointers enable automatic, exception-safe, object lifetime management.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Defined in header <memory>
ポインタのカテゴリ
Original:
Pointer categories
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
一意のオブジェクトの所有権のセマンティクスを持つスマートポインタ
Original:
smart pointer with unique object ownership semantics
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(クラステンプレート) [edit]
smart pointer with shared object ownership semantics
(クラステンプレート) [edit]
(C++11)
std::shared_ptrによって管理されているオブジェクトへの弱い参照
Original:
weak reference to an object managed by std::shared_ptr
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(クラステンプレート) [edit]
(廃止予定)
厳格なオブジェクトの所有権のセマンティクスを持つスマートポインタ
Original:
smart pointer with strict object ownership semantics
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(クラステンプレート) [edit]
ヘルパークラス
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.
共有およびウィークポインタの混在型所有者ベースの注文しています
Original:
provides mixed-type owner-based ordering of shared and weak pointers
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(クラステンプレート) [edit]
オブジェクト自体を参照shared_ptrを作成することができます
Original:
allows an object to create a shared_ptr referring to itself
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(クラステンプレート) [edit]
既に破棄されたオブジェクトを参照weak_ptrにアクセスするときに例外がスローされます
Original:
exception thrown when accessing a weak_ptr which refers to already destroyed object
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(クラス) [edit]
unique_ptrのデフォルトデリータ
Original:
default deleter for unique_ptr
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(クラステンプレート) [edit]

[編集] アロケータ

アロケータはメモリ割り当て方法をカプセル化するクラステンプレートです。これは、一般的なコンテナは、データ自体からメモリ管理をデカップリングすることができます.
Original:
Allocators are class templates encapsulating memory allocation strategy. This allows generic containers to decouple memory management from the data itself.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Defined in header <memory>
the default allocator
(クラステンプレート) [edit]
アロケータの種類についての情報を提供します
Original:
provides information about allocator types
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(クラステンプレート) [edit]
タグタイプはアロケータアウェアコンストラクターオーバーロードを選択するために使用
Original:
tag type used to select allocator-aware constructor overloads
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(クラス) [edit]
型のオブジェクトstd::allocator_arg_tはアロケータ対応のコンストラクタを選択するために使用する
Original:
an object of type std::allocator_arg_t used to select allocator-aware constructors
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(定数) [edit]
チェックを指定した型が使用するアロケータ構築をサポートしている場合
Original:
checks if the specified type supports uses-allocator construction
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(クラステンプレート) [edit]
Defined in header <scoped_allocator>
マルチレベルのコンテナのためのマルチレベルのアロケータを実装しています
Original:
implements multi-level allocator for multi-level containers
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(クラステンプレート) [edit]

[編集] ストレージを初期化されていない

いくつかのユーティリティは、RAW記憶域を作成してアクセスするために提供されます
Original:
Several utilities are provided to create and access raw storage
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Defined in header <memory>
メモリの初期化されていない領域へのオブジェクトの範囲をコピーします
Original:
copies a range of objects to an uninitialized area of memory
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(関数テンプレート) [edit]
メモリの初期化されていない領域へのオブジェクトの数をコピーします
Original:
copies a number of objects to an uninitialized area of memory
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(関数テンプレート) [edit]
メモリの初期化されていない領域にオブジェクトをコピーします
Original:
copies an object to an uninitialized area of memory
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(関数テンプレート) [edit]
メモリの初期化されていない領域にオブジェクトをコピーします
Original:
copies an object to an uninitialized area of memory
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(関数テンプレート) [edit]
標準アルゴリズムは初期化されていないメモリに結果を格納することができますイテレータ
Original:
an iterator that allows standard algorithms to store results in uninitialized memory
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(クラステンプレート) [edit]
初期化されていないストレージを取得します
Original:
obtains uninitialized storage
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(関数テンプレート) [edit]
初期化されていないメモリを解放する
Original:
frees uninitialized storage
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(関数テンプレート) [edit]

[編集] ガベージコレクタをサポートします

Defined in header <memory>
オブジェクトはリサイクルできないことを宣言します
Original:
declares that an object can not be recycled
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(関数) [edit]
オブジェクトを再利用できることを宣言します
Original:
declares that an object can be recycled
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(関数テンプレート) [edit]
メモリ領域がトレーサブルポインタが含まれていないことを宣言します
Original:
declares that a memory area does not contain traceable pointers
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(関数) [edit]
std::declare_no_pointersの効果を取り消します
Original:
cancels the effect of std::declare_no_pointers
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(関数) [edit]
ポインターの安全性モデルを示します
Original:
lists pointer safety models
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(クラス) [edit]
現在のポインタの安全性モデルを返します
Original:
returns the current pointer safety model
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(関数) [edit]

[編集] その他

Defined in header <memory>
ポインタのようなタイプの情報を提供します
Original:
provides information about pointer-like types
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(クラステンプレート) [edit]
(C++11)
演算子がオーバーロードされた場合でも、オブジェクトの実際のアドレスを取得します
Original:
obtains actual address of an object, even if the & operator is overloaded
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(関数テンプレート) [edit]
(C++11)
バッファ内のポインタの位置を調整します
Original:
aligns a pointer in a buffer
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(関数) [edit]

[編集] Cスタイルのメモリ管理

例えばを含むstd::mallocstd::free
Original:
Includes e.g. std::malloc, std::free
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

[編集] 低レベルのメモリ管理

例えばを含むoperator new operator delete std::set_new_handler
Original:
Includes e.g. operator new , operator delete , std::set_new_handler
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.