49 void swap(
Dog &other);
The Animal class represents a generic animal.
Represents the brain of an animal, holding a collection of ideas.
The Dog class represents a canine animal.
Dog & operator=(const Dog &other)
virtual void makeSound() const
Makes a generic animal sound. This implementation is for the base Animal class. Derived classes are e...
Declares the abstract Animal base class.
Declares the Brain class.