std::declare_no_pointers
提供: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 <memory>
|
||
| void declare_no_pointers( char *p, std::size_t n ) |
(C + + 11以来) | |
ガベージコレクタまたはリークディテクタ、その指定されたメモリ領域(バイトから始まって
nバイトpによって指される)がトレーサブルのポインタが含まれていませんが通知されます。地域のいずれかの部分が割り当てられたオブジェクトの範囲内であれば、地域全体が同じオブジェクトに含まれている必要があり.Original:
Informs the garbage collector or leak detector that the specified memory region (
n bytes beginning at the byte pointed to by p) contains no traceable pointers. If any part of the region is within an allocated object, the entire region must be contained in the same object.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 beginning of the range 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 bytes in the range 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:
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.
[編集] 例
| This section is incomplete Reason: no example |
[編集] も参照してください
| (C++11) |
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. (機能) |