नोट
इस पृष्ठ तक पहुंच के लिए प्राधिकरण की आवश्यकता होती है। आप साइन इन करने या निर्देशिकाएँ बदलने का प्रयास कर सकते हैं।
इस पृष्ठ तक पहुंच के लिए प्राधिकरण की आवश्यकता होती है। आप निर्देशिकाएँ बदलने का प्रयास कर सकते हैं।
'var': lambda capture variable not found
Remarks
The compiler could not find the definition of a variable that you passed to the capture list of a lambda expression.
To correct this error
- Remove the variable from the capture list of the lambda expression.
Example
The following example generates C3481 because the variable n is not defined:
// C3481.cpp
int main()
{
[n] {}(); // C3481
}