aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/examples/boost/foo.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/boost/foo.cpp')
-rw-r--r--examples/boost/foo.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/examples/boost/foo.cpp b/examples/boost/foo.cpp
new file mode 100644
index 0000000..3bd0326
--- /dev/null
+++ b/examples/boost/foo.cpp
@@ -0,0 +1,11 @@
+#include <boost/filesystem.hpp>
+
+#include <iostream>
+
+int main(int argc, char* argv[]) {
+ std::cout << "Hello from "
+ << boost::filesystem::absolute(boost::filesystem::path{argv[0]})
+ .string()
+ << "!\n";
+ return 0;
+}