#include using namespace std; class Foo { public: int a; Foo ( void ); explicit Foo ( int ); private: int b; }; Foo::Foo ( void ) //违背1 { a = 0; } Foo::Foo ( int varb ) //违背2 { b = varb; } int main ( void ) { Foo thef1, thef2 ( 1 ); return ( 0 ); }