Boost logo

Boost Users :

From: Jeffrey Holle (jeffreyholle_at_[hidden])
Date: 2007-09-20 14:25:08


I've a multi_index container that has a composite_key index which is
used to express a "checker board" like concept.

I need to iterator over all rows, from 0 to n.
I know how to employ equal_range(make_tuple(y)) to get the elements
within a specific row, but how do I determine n?

The only way I can think of doing this is doing a linear search using
another index. Is there a better way?


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net