std::declare_no_pointers
De cppreference.com
![]() |
Esta página se ha traducido por ordenador/computador/computadora de la versión en inglés de la Wiki usando Google Translate.
La traducción puede contener errores y palabras aparatosas/incorrectas. Planea sobre el texto para ver la versión original. Puedes ayudar a corregir los errores y mejorar la traducción. Para instrucciones haz clic aquí. |
Definido en el archivo de encabezado <memory>
|
||
void declare_no_pointers( char *p, std::size_t n ) |
(desde 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
Esta sección está incompleta Razón: sin ejemplo |
[editar] Ver también
(C++11)(eliminado en C++23) |
Cancela el efecto de std::declare_no_pointers. (función) |