query: Virtual method only works for base class pointers
positive_passages.docid: 3177
positive_passages.text: What is object slicing?
negative_passages.docid: 153466
negative_passages.text: Implementing pure virtual functions with multiple inheritance
negative_passages.docid: 121827
negative_passages.text: A Base Class pointer can point to a derived class object. Why is the vice-versa not true?
negative_passages.docid: 30111
negative_passages.text: Derived template-class access to base-class member-data
negative_passages.docid: 158710
negative_passages.text: Understanding C++ Virtual Methods of Instances Allocated on the Stack
negative_passages.docid: 27460
negative_passages.text: Virtual functions
negative_passages.docid: 77308
negative_passages.text: Force calling the base method from outside a derived class
negative_passages.docid: 79888
negative_passages.text: Why should I declare a virtual destructor for an abstract class in C++?
negative_passages.docid: 120041
negative_passages.text: Why does c++ pointer * associate to the variable declared, not the type?
negative_passages.docid: 142557
negative_passages.text: Calling pure virtual function in constructor gives an error
negative_passages.docid: 104783
negative_passages.text: Multiple Inheritance : size of class for virtual pointers?
negative_passages.docid: 73499
negative_passages.text: Why is Default constructor called in virtual inheritance?
negative_passages.docid: 14801
negative_passages.text: templates: parent class member variables not visible in inherited class
negative_passages.docid: 59163
negative_passages.text: How can a derived class invoke private method of base class?
negative_passages.docid: 125893
negative_passages.text: Generic base class with multiple children
negative_passages.docid: 903
negative_passages.text: How to call a parent class function from derived class function?
negative_passages.docid: 8590
negative_passages.text: When to use virtual destructors?