
1 Apr
2009
1 Apr
'09
10:50 a.m.
Hello, I have a boost::array< pair<type1, type2>, maxsize > object, and I wish to iterate over the list of type1 elements, and the list of type2 elements... I gather I then need an iterator adaptor based on array's iterator and const_iterators... How may I write such a thing? I then can pass around iterators to type1 and type2 separately. regards,