नोट
इस पृष्ठ तक पहुंच के लिए प्राधिकरण की आवश्यकता होती है। आप साइन इन करने या निर्देशिकाएँ बदलने का प्रयास कर सकते हैं।
इस पृष्ठ तक पहुंच के लिए प्राधिकरण की आवश्यकता होती है। आप निर्देशिकाएँ बदलने का प्रयास कर सकते हैं।
'function': cannot be declared static
Remarks
Neither constructors nor destructors can be declared static.
Example
The following example generates C2574:
// C2574.cpp
// compile with: /c
struct S
{
static S() {} // C2574
// Try the following line instead:
// S() {}
};