Muistiinpano
Tälle sivulle pääsy edellyttää valtuutusta. Voit yrittää kirjautua sisään tai vaihtaa hakemistoja.
Tälle sivulle pääsy edellyttää valtuutusta. Voit yrittää vaihtaa hakemistoja.
pseudo-destructor expression can only be used as part of a function call
Remarks
A destructor was called incorrectly. For more information, see Destructors.
Example
The following example generates C3672.
// C3672.cpp
template<typename T>
void f(T* pT) {
&pT->T::~T; // C3672
pT->T::~T(); // OK
}
int main() {
int i;
f(&i);
}