नोट
इस पृष्ठ तक पहुंच के लिए प्राधिकरण की आवश्यकता होती है। आप साइन इन करने या निर्देशिकाएँ बदलने का प्रयास कर सकते हैं।
इस पृष्ठ तक पहुंच के लिए प्राधिकरण की आवश्यकता होती है। आप निर्देशिकाएँ बदलने का प्रयास कर सकते हैं।
'identifier': 'const/volatile' 'this' pointer is illegal for constructors/destructors
Remarks
A constructor or destructor can't be declared const or volatile.
Example
The following example generates C2583:
// C2583.cpp
// compile with: /c
struct S
{
S() const {} // C2583
// Try the following line instead:
// S() {}
};