c++: test of implicit constructors.