Compiler Error C2612
trailing 'char' illegal in base/member initializer list
A character appears after the last base or member in an initializer list.
The following sample generates C2612:
// C2612.cpp
class A {
public:
int i;
A( int ia ) : i( ia ) + {}; // C2612
};
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