Export (0) Print
Expand All
Expand Minimize
This topic has not yet been rated - Rate this topic

Compiler Error C3866

function call missing argument list

Inside a nonstatic member function, a destructor or finalizer call did not have an argument list.

The following sample generates C3866:

// C3866.cpp
// compile with: /c
class C {
   void f() {
      this->~C;   // C3866
      this->~C();   // OK
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
© 2014 Microsoft. All rights reserved.