std::scoped_allocator_adaptor::destroy
提供:cppreference.com
|
|
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. |
| Defined in header <scoped_allocator>
|
||
| template< class T > void destroy( T* p ); |
(C + + 11以来) | |
を呼び出すことによって、
pが指すオブジェクトのデストラクタを呼び出すために外側のアロケータを使用していますOriginal:
Uses the outer allocator to call the destructor of the object pointed to by
p, by callingThe 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::allocator_traits<OUTERMOST>::destroy(OUTERMOST(*this), p)
this->outer_allocator()を呼び出し、次にそのようなメンバ関数を持たない型に到達するまで、この呼び出しの結果に再帰的に
outer_allocator()メンバ関数を呼び出して、返される型はどこに一番外側のです.Original:
where OUTERMOST is the type that would be returned by calling this->outer_allocator(), and then calling the
outer_allocator() member function recursively on the result of this call until reaching the type that has no such member function.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.
[編集] パラメータ
| p | - | 破壊されようとしているオブジェクトへのポインタ
Original: pointer to the object that is going to be destroyed The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
[編集] 値を返します
(なし)
Original:
(none)
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: destructs an object stored in the allocated storage The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (関数テンプレート) |
| 割り振られたストレージ内のオブジェクトを破棄します Original: destructs an object in allocated storage The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (パブリックメンバ関数of std::allocator)
| |