Compiler Error C3672
pseudo-destructor expression can only be used as part of a function call
A destructor was called incorrectly. For more information, see Destructors.
Example
The following sample 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);
}
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for