using namespace boost::lambda;
std::reverse(a, a + 10);
std::foreach(a, a+10, std::cout << _1 << '\n');