#include #include #include using namespace std; namespace hello { void say_hello (ostream& o, const string& n) { if (n.empty ()) throw invalid_argument ("empty name"); o << "Hello, " << n << '!' << endl; } }