void swap(Bird &other) noexcept
void make_sound() override
Animal * father
The pointer to the father.
Definition: animal.h:195
Animal * mother
The pointer to the mother.
Definition: animal.h:190
Bird & operator=(const Bird &other)=delete
Deleted copy operator.
Bird(const std::string &name, Bird *mother=nullptr, Bird *father=nullptr)
Base class for all animals from which Bird derives.
Definition: animal.h:66
std::string name
Definition: animal.h:196