diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2016-01-22 10:26:47 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2016-01-22 10:26:47 +0200 |
commit | f013fac528515dad78c9a624216b1e0217a5f3bb (patch) | |
tree | 88a98bdb6f4b6c385f06239eb7c46ce8acf5d3c8 /format/format.cxx |
"Hello World" formatter C++ library with build2
Diffstat (limited to 'format/format.cxx')
-rw-r--r-- | format/format.cxx | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/format/format.cxx b/format/format.cxx new file mode 100644 index 0000000..0566e78 --- /dev/null +++ b/format/format.cxx @@ -0,0 +1,11 @@ +// file: format/format.cxx -*- C++ -*- + +#include <format/format> + +using namespace std; + +string +format (const string& g, const string& n) +{ + return g + ", " + n + '!'; +} |