2007/6/24, Andrea Zagli <azagli inwind it>: i need it because i pass obj_a/obj_b to a function that do different things based on object type is there a different way to make it without check the object type? > > is it a bug? or is it normal? > > Show me a single object system implementation that behaves > differently in this regard... i don't know... but i'm not an expert of oop
Use virtual methods.