Skip to main content

Home/ Coders/ Group items matching "dynamic_cast" in title, tags, annotations or url

Group items matching
in title, tags, annotations or url

Sort By: Relevance | Date Filter: All | Bookmarks | Topics Simple Middle
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