#include <greeting/greeting.hpp> | |
#include <sstream> | |
namespace greeting { | |
std::string make_greeting(std::string const& greetee) { | |
if (greetee == "") { | |
return "Hello!"; | |
} else { | |
std::ostringstream out; | |
out << "Hello " << greetee << "!"; | |
return out.str(); | |
} | |
} | |
} |