Reinterpret cast

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • NiveditaB06
    New Member
    • Oct 2006
    • 4

    #1

    Reinterpret cast

    it is recommended not to use reinterpret cast that is mostly used for type converting one pointer type to other totally different type( like int ).After casting one member variable to another type using reinterpret cast you should cast back the member variable to actual type before using.Please anyone explain the reason behind this.If it is for system dependency then explain the dependency in details.
Working...