c++ Programming Glossary: derrive
Is it ok to cast a STL container with Base type to Derived type? http://stackoverflow.com/questions/5460371/is-it-ok-to-cast-a-stl-container-with-base-type-to-derived-type using namespace std class Base Code virtual ~Base class Derrive public Base Code Derrive convert Base in assert here return.. Base Code virtual ~Base class Derrive public Base Code Derrive convert Base in assert here return dynamic_cast Derrive in int.. Derrive convert Base in assert here return dynamic_cast Derrive in int main vector Base vec_base new vector Base Add some Derrive..
|