operator ++() should return void accouding to c++ standard