The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.
#include "Animal.h"

#include <string>
#include <iostream>
#include <exception>

Animal::Animal(const std::string& name) :
  fName(name)
{}

void
Animal::SetName(const std::string& newName)
{
  fName = newName;
}

std::string
Animal::GetName()
  const
{
  return fName;
}

void
Animal::MakeSound()
  const
{
  throw CannotMakeSoundException();
}