simple boost C++ example trial