new post c++ polymorphism