diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2017-04-29 16:20:50 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2017-04-29 16:20:50 +0300 |
commit | 3dc9c1698aa18be1f5a0c67a70a4e6cd655a3da4 (patch) | |
tree | fd519a6fe244aee44f5e6103015385852aedd195 /hello/hello | |
parent | a9135c795451b594b904f11c62e1fe71c6ec9c85 (diff) |
Add hxx extension for headers and lib prefix for library dirs
Diffstat (limited to 'hello/hello')
-rw-r--r-- | hello/hello | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/hello/hello b/hello/hello deleted file mode 100644 index 75a47a0..0000000 --- a/hello/hello +++ /dev/null @@ -1,28 +0,0 @@ -// file: hello/hello -*- C++ -*- - -#pragma once - -#include <string> - -#include <format/format> - -#include <hello/export> - -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)); - } -} |