名前空間
変種
操作

std::scoped_allocator_adaptor::deallocate

提供: cppreference.com

 
 
動的メモリ管理
未初期化記憶域
(C++17)
ガベージコレクションサポート
その他
(C++20)
(C++11)
(C++11)
C のライブラリ
低水準のメモリ管理
 
std::scoped_allocator_adaptor
メンバ関数
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.
scoped_allocator_adaptor::deallocate
非メンバ関数
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.
 
ヘッダ <scoped_allocator> で定義
void deallocate( pointer p, size_type n )
(C++11およびそれ以降)
pを呼び出すことによって、std::allocator_traits<OuterAlloc>::deallocate(outer_allocator(), p, n)によって参照されるストレージを解放するために外側のアロケータを使用しています
Original:
Uses the outer allocator to deallocate the storage referenced by p, by calling std::allocator_traits<OuterAlloc>::deallocate(outer_allocator(), p, n)
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

目次

[編集] パラメータ

p -
以前に割り当てられたメモリへのポインタ
Original:
pointer to the previously allocated memory
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
n -
メモリが割り当てられた対象オブジェクトの数
Original:
the number of objects for which the memory was allocated
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

[編集] 値を返します

(なし)

[編集] 例外

noexcept 指定:  
noexcept
  

[編集] 参照

記憶域を解放します
(std::allocatorのパブリックメンバ関数) [edit]
[static]
アロケータを使用して、ストレージの割り当てを解除します
Original:
deallocates storage using the allocator
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(std::allocator_traitsのパブリック静的メンバ関数) [edit]