blob: 62ebb2dcf69d7b176b31ce2f0cfe77cd17cfc7ff [file] [log] [blame]
#include "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();
}
}
}