Random commentary about Machine Learning, BigData, Spark, Deep Learning, C++, STL, Boost, Perl, Python, Algorithms, Problem Solving and Web Search
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