Compiler Error C2448
'identifier' : function-style initializer appears to be a function definition
The function definition is incorrect.
This error can be caused by an old-style C-language formal list.
The following sample generates C2448:
// C2448.cpp
void func(c)
int c;
{} // C2448
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