blob: 0fb811d111eeb9af26a9b56755626bb690f70872 [file] [log] [blame]
#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();
}
}
}