Boost logo

Boost Users :

Subject: [Boost-users] bimap<int, shared_ptr> question
From: philip tucker (phhht_at_[hidden])
Date: 2010-01-20 18:00:21


I want a bimap<int,shared_ptr> in which the rhs is ordered not by
pointer, but by thing pointed to.
Can you give me a simple example to follow?

I know this is a naive question, but I have searched the docs long
and hard for such an example. If one appears, I'd be interested in
knowing where.

Thanks in advance.


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