#include #include #include #include int main(int argc, char* argv[]) { typedef boost::fusion::vector fvector; fvector ar[2] = {fvector(1, 1), fvector(2, 2)}; #ifndef BOOST_NO_RANGE_BASED_FOR // Note: namespace std is added to ar's // associated namespaces in range-based for. for (auto x : ar) { std::cout << x << std::endl; } #endif return 0; }