query: how can I downcast proper class from vector?
positive_passages.docid: 3177
positive_passages.text: What is object slicing?
negative_passages.docid: 153216
negative_passages.text: How to return different classes from one function?
negative_passages.docid: 68736
negative_passages.text: How do I erase an element from std::vector by index?
negative_passages.docid: 134266
negative_passages.text: Casting a class to an unrelated interface
negative_passages.docid: 90011
negative_passages.text: Getting a vector into a function that expects a vector
negative_passages.docid: 49319
negative_passages.text: Converting std::string to std::vector
negative_passages.docid: 83187
negative_passages.text: Elegant alternatives to the weird multiple inheritance
negative_passages.docid: 19573
negative_passages.text: Using local classes with STL algorithms
negative_passages.docid: 18850
negative_passages.text: How can I create objects while adding them into a vector?
negative_passages.docid: 150506
negative_passages.text: Propagating 'typedef' from based to derived class for 'template'
negative_passages.docid: 54278
negative_passages.text: How to apply a constant function to a vector of values?
negative_passages.docid: 141743
negative_passages.text: What is the best way to conditionally apply a class?
negative_passages.docid: 3638
negative_passages.text: How do you copy the contents of an array to a std::vector in C++ without looping?
negative_passages.docid: 95482
negative_passages.text: propagating data within a vector
negative_passages.docid: 131282
negative_passages.text: How do you cast a List of supertypes to a List of subtypes?
negative_passages.docid: 11702
negative_passages.text: Best way to extract a subvector from a vector?
negative_passages.docid: 86524
negative_passages.text: How to initialize std::vector from C-style array?