diff options
Diffstat (limited to 'libhello/libhello/hello.hxx')
-rw-r--r-- | libhello/libhello/hello.hxx | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/libhello/libhello/hello.hxx b/libhello/libhello/hello.hxx index 58bd7b2..9b069b0 100644 --- a/libhello/libhello/hello.hxx +++ b/libhello/libhello/hello.hxx @@ -1,13 +1,15 @@ -// file: libhello/hello.hxx -*- C++ -*- - #pragma once +#include <iosfwd> #include <string> #include <libhello/export.hxx> namespace hello { - LIBHELLO_EXPORT void - say (const std::string& name); + // Print a greeting for the specified name into the specified + // stream. Throw std::invalid_argument if the name is empty. + // + LIBHELLO_SYMEXPORT void + say_hello (std::ostream&, const std::string& name); } |