Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
In this article
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
};