summaryrefslogtreecommitdiff
path: root/libhello/libhello/hello.hxx
blob: 9b069b023405fe14e273419c9359d3a9cdd0523a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#pragma once

#include <iosfwd>
#include <string>

#include <libhello/export.hxx>

namespace hello
{
  // 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);
}