Thanks for this enlightment,
Would a dynamic_cast have your approval ?