#include #include "Human.hpp" #include "Student.hpp" #include int main(int, char**){ printf("Hello, from stl_debug!\n"); std::vector vec; Human human(25, "John Doe"); Student student(20, "Jane Doe", "MIT"); vec.push_back(&human); vec.push_back(&student); for (const auto& h : vec) { h->print(); } static_cast(vec.back())->print(); }