Matthias Andreas Benkard | 38610ae | 2018-04-10 20:39:24 +0200 | [diff] [blame] | 1 | #include "greeting.hpp" |
2 | |||||
3 | #include <sstream> | ||||
4 | |||||
5 | namespace greeting { | ||||
6 | |||||
7 | std::string make_greeting(std::string const& greetee) { | ||||
8 | std::ostringstream out; | ||||
9 | out << "Hello " << greetee << "!"; | ||||
10 | return out.str(); | ||||
11 | } | ||||
12 | |||||
13 | } |