Boost logo

Boost Users :

From: Matias Capeletto (matias.capeletto_at_[hidden])
Date: 2007-12-27 14:59:42


On Dec 27, 2007 5:43 AM, <damny_at_[hidden]> wrote:
> ahh,
>
> very nice. please excuse my thick-wittedness.

:)

> but ... what if, if i would like to add an additional, unique key to my structure; a last update time, maybe.
> name-identifer-time >> value; valu1:=map[nme1], valu1:=map[idf1], valu1:=map[time1]
> in this case bimap will not solve my problem and multiindex will be the best solution. is that right?

Yes, that is right. You may find reading this page useful:
http://tinyurl.com/2wrb6k

> and for interest, how to solve the original problem in this case?

Joaquin has just posted about that.

Cheers
Matias


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