Replaced BOOST_FOREACH with std::for_each and lambda
Replaced BOOST_STATIC_ASSERT with static_assert
Removed last occurrence of boost::call_traits