Export (0) Print
Expand All
Expand Minimize
1 out of 1 rated this helpful - Rate this topic

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 {
   int i;
   A( int ia ) : i( ia ) + {};   // C2612
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
© 2014 Microsoft. All rights reserved.