New c++ library

What is that example supposed to do?