>> What am I misunderstanding? > >The semantics of map::lower_bound() and map::upper_bound(), I believe. I see. Thanks for setting me straight. Sebastien Loisel