Original Post
hi,
What is the difference between the two casts below? The only thing I know is, that dynamic_cast can return NULL. But how expensive is it to use dynamic_cast and the other cast operators?
Mammal* m=new Cat();
Cat* cat=(Cat*)m;
Cat* cat=dynamic_cast(m);
bye
chris