diff options
Diffstat (limited to 'libhello/hello.hxx')
-rw-r--r-- | libhello/hello.hxx | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/libhello/hello.hxx b/libhello/hello.hxx deleted file mode 100644 index ccc43c2..0000000 --- a/libhello/hello.hxx +++ /dev/null @@ -1,28 +0,0 @@ -// file: libhello/hello.hxx -*- C++ -*- - -#pragma once - -#include <string> - -#include <libformat/format.hxx> - -#include <libhello/export.hxx> - -namespace hello -{ - // If you compare this interface to version 1.0, then you will notice that - // while it is API/source-compatible (the signature of say() is unchanged) - // it is not ABI/binary-compatible (say() is now inline). - // - // Notice also that inline say() calls format() which means libformat is an - // interface dependency of libhello. - - LIBHELLO_EXPORT void - say_formatted (const std::string& message); - - inline void - say (const std::string& name) - { - say_formatted (format ("Hello", name)); - } -} |