Tuesday, July 7, 2009

Dynamic_cast on references

I wonder why people are used to work with dynamic_cast(p) on pointers, but almost none thinks about dynamic_cast(r) about run time type id for references?

Do you know how to capture the bad_cast there? lol '-)

No comments:

Post a Comment