aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/examples/boost/foo.cpp
blob: 3bd03264ba05e6021a41e03fde35497332c3c724 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
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;
}