#define _GLIBCXX_DEBUG 1 #include #include int main() { typedef std::vector::iterator iterator; typedef boost::tuple it_tuple; std::vector int_v; it_tuple t_begin(int_v.begin(), int_v.begin()); it_tuple t_end(int_v.end(), int_v.end()); typedef boost::zip_iterator zip_iterator; zip_iterator begin(t_begin); zip_iterator end(t_end); std::vector > int_int_v; int_int_v.insert(int_int_v.end(), begin, end); return 0; }