Move away from boost and use c++11.