$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
Subject: Re: [Boost-users] multi index container
From: Dejan (xamiw_at_[hidden])
Date: 2010-02-03 11:46:40
> OK, if you need to find elements by two different criteria then this is
> Boost.MultiIndex is
> designed for.
What is the correct index for a multi_index_container to search for its
elements as pointer?
Actual I have this:
typedef multi_index_container
<
employee *,
indexed_by
<
// WRONG:
// ordered_unique<member>employee, emplyoee*, &employee> >,
// OK
ordered_unique<member<employee,int,&employee::id> >
>
> employee_set;