that ctor should be a dtor
add some boost/function includes