Boost logo

Boost Users :

From: Joaquin M Lopez Munoz (joaquin_at_[hidden])
Date: 2005-01-31 14:55:40

Marshall Clow <marshall <at>> writes:

> I'm trying to use boost::multi_index for the first time, and I'm
> getting odd compile errors.
> I have a class with two "keys", a text one and a numeric one, and I
> want to have two indices
> into the collection.
> So, I tried several things, and all of them get the same error:
> 'index_class' is not a member of class
> 'boost::multi_index::ordered_unique<boost::multi_index::identity<Foo>,
> boost::multi_index::detail::null_arg,
> boost::multi_index::detail::null_arg>'
> (and then an amazing cascade after that)

Seems to me you have forgotten to include
<boost/multi_index/ordered_index.hpp>. If problems
persist, please come back.

Good luck,

Joaquín M López Muñoz
Telefónica, Investigación y Desarrollo

Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at