for(auto a : animals){
if(typeid(a) == typeid(Dog*){
}
}