Boost Example code