std::declare_no_pointers
De 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 ) |
(ya que C + +11) | |
Informa el recolector de basura o detector de fugas que la región especificada de memoria (
n bytes comenzando en el byte apuntado por p) no contiene punteros rastreable. Si cualquier parte de la región está dentro de un objeto asignado, toda la región debe estar contenido en el mismo objeto .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.
Contenido |
[editar] Parámetros
| p | - | puntero al comienzo de la gama
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 | - | el número de bytes en el rango
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. |
[editar] Valor de retorno
(Ninguno)
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.
[editar] Excepciones
Ninguno
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.
[editar] Ejemplo
| This section is incomplete Reason: no example |
[editar] Ver también
| (C++11) |
cancela el efecto de 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. (función) |