Boost logo

Boost Users :

Subject: Re: [Boost-users] multi index container
From: Dejan (xamiw_at_[hidden])
Date: 2010-02-03 10:48:31


>
> typedef mi::multi_index_container<
> employee *,
> mi::indexed_by<
> mi::ordered_unique<mi::member<employee, int, &employee::id> >
> >
> > employee_set;

Maybe i should mention that I search for something like this:

employee_set.find(employee* pointer);

  and

employee_set.find(int id);

Any hints?

Thanks


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