That is an include only library, AFAIK.

You have to enable C++11.
Your example compiles without problems for me, only when I add -std=c++11, no boost related linker options are needed.