Skip to main content

Home/ Coders/ Group items tagged dynamic_cast

Rss Feed Group items tagged

tianjinxtl

标准C++的类型转换符:static_cast、dynamic_cast、reinterpret_cast和const_cast(转载)-在线阅读-新书城 - 0 views

    • tianjinxtl
       
      * static_cast     - from Derived to Base is safe     - basic data type     - null pointer to normal pointer     - to void type * dynamic_cast     - Base to Derived, has RTTI check virtual function     - Derived to Base is safe     - Cross cast, get an null pointer.  (static_cast get compiler error)
1 - 1 of 1
Showing 20 items per page