<div class="t-tr-text">operatore<div class="t-tr-dropdown"><div><div><div class="t-tr-dropdown-arrow-border"></div><div class="t-tr-dropdown-arrow"></div><div class="t-tr-dropdown-h">Original:</div><div class="t-tr-dropdown-orig">operator</div><div class="t-tr-dropdown-notes">The text has been machine-translated via [http://translate.google.com Google Translate].<br/> You can help to correct and verify the translation. Click [http://en.cppreference.com/w/Cppreference:MachineTranslations here] for instructions.</div></div></div></div></div> delete<div class="t-tr-text">, Operatore<div class="t-tr-dropdown"><div><div><div class="t-tr-dropdown-arrow-border"></div><div class="t-tr-dropdown-arrow"></div><div class="t-tr-dropdown-h">Original:</div><div class="t-tr-dropdown-orig">, operator</div><div class="t-tr-dropdown-notes">The text has been machine-translated via [http://translate.google.com Google Translate].<br/> You can help to correct and verify the translation. Click [http://en.cppreference.com/w/Cppreference:MachineTranslations here] for instructions.</div></div></div></div></div> delete[]
![]() |
Questa pagina è stata tradotta in modo automatico dalla versione in ineglese della wiki usando Google Translate.
La traduzione potrebbe contenere errori e termini strani. Muovi il puntatore sopra al testo per vedere la versione originale. Puoi aiutarci a correggere gli gli errori. Per ulteriori istruzioni clicca qui. |
Elemento definito nell'header <new>
|
||
void operator delete ( void* ptr ); |
(1) | |
void operator delete[]( void* ptr ); |
(2) | |
void operator delete ( void* ptr, const std::nothrow_t& ); |
(3) | |
void operator delete[]( void* ptr, const std::nothrow_t& ); |
(4) | |
void operator delete ( void* ptr, void*); |
(5) | |
void operator delete[]( void* ptr, void* ); |
(6) | |
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.
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.
You can help to correct and verify the translation. Click here for instructions.
ptr
è un puntatore nullo, la funzione deallocazione non fa nulla.ptr
is a null pointer, the deallocation function does nothing.You can help to correct and verify the translation. Click here for instructions.
Indice |
[modifica] Sostituzione e sovraccarico
<new>
non è incluso. Queste funzioni sono' sostituibili: un utente fornito non funzione membro con la stessa firma sostituisce la versione implicita. Al più una sostituzione possono essere forniti per ciascuna delle quattro funzioni deallocazione implicite. Inoltre, il programma può definire versioni membro di classe di queste funzioni o definire le funzioni di assegnazione con firme diverse (tranne 5-6) non sono sostituibili).<new>
header is not included. These functions are replaceable: a user-provided non-member function with the same signature replaces the implicit version. At most one replacement may be provided for each of the four implicit deallocation functions. Also, program can define class member versions of these functions or define allocation functions with different signatures (except 5-6) are not replaceable).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.
- 'In ambito globale': per chiamarlo, la firma delle funzioni di allocazione di overload deve essere visibile nel luogo di deallocazione, fatta eccezione per le funzioni di default implicitamente dichiarate deallocazione. Questa funzione assegnazione viene utilizzata per tutte deallocazioni con parametri corrispondenti nel programma correnteOriginal:in the global scope: in order to call it, the signature of the overloaded allocation functions must be visible at the place of deallocation, except for implicitly declared default deallocation functions. This allocation function will be used for all deallocations with corresponding parameters in the current programThe text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions. - 'Nello scope locale': il
operator delete
sovraccarico deve essere statico funzione membro pubblico della classe. Questa funzione deallocazione saranno utilizzati solo per le deallocazioni di quella particolare classe.Original:in the local scope: the overloadedoperator delete
must be static public member function of the class. This deallocation function will be used only for deallocations of that particular class.The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
delete
cerca per nome di funzione deallocazione un appropriato in primo luogo nel campo di applicazione di classe e dopo che in ambito globale. Che può essere usato per saltare il primo passo. Si noti che secondo sovraccarico regole, le funzioni deallocazione dichiarati in ambito della classe nasconde tutte le funzioni deallocazione globali. Per ulteriori informazioni vedere eliminare espressione.delete
expression looks up for appropriate deallocation function's name firstly in the class scope and after that in the global scope. It can be instructed to skip the first step. Note, that as per sovraccarico regole, any deallocation functions declared in class scope hides all global deallocation functions. For more information see eliminare espressione.You can help to correct and verify the translation. Click here for instructions.
[modifica] Parametri
ptr | - | puntatore ad un'area di memoria o deallocare un puntatore nullo
Original: pointer to a memory area to deallocate or a null pointer The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
[modifica] Valore di ritorno
You can help to correct and verify the translation. Click here for instructions.
[modifica] Eccezioni
[modifica] Vedi anche
[modifica] Vedi anche
allocazione funzioni Original: allocation functions The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (funzione) | |
versioni non inizializzata stoccaggio Original: releases uninitialized storage The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (funzione) | |
dealloca memoria Original: deallocates memory The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (funzione) |