title: Use of RTTI in C++
body: <p>What is the use of run time type identification in C++? I know how it is used and what facilities it provides but what was the motivation behind introducing RTTI in C++? Can anyone give a small example where RTTI has to be used?</p>