add include <boost/range/algorithm.hpp>