God handles, confusing in c++