Boost1_66_0 + VS2015编译+使用
参考 https://blog.****.net/donghai_yu/article/details/79435979
#include <cstdlib>
#include <boost\array.hpp>
#include <iostream>
using namespace boost;
int main()
{
array<int, 5> n = { 10, 5, 8, 3, 9 };
array<int, 5>::iterator it = n.begin();
for (; it != n.end(); it++)
{
std::cout << *it << std::endl;
}
std::cin.get();
return 0;
}