Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TugboatEng on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by alharitek

  1. alharitek

    Overloading cast operator with pointers

    I am researching the same problem. I would like to be able to say: class2 *ptr2 = (class2*)ptr1; rather than: class2 *ptr2 = dynamic_cast<class2*>(ptr1); and override it with both the dynamic cast and the assert. However, I can not find a way to override an explicint (or implicit)...

Part and Inventory Search

Back
Top