Andrej Mitrovic: > I wonder if there's a way to get the static type, is there an equivalent > function like typeid() for such a case? Try typeof(). Bye, bearophile