Boost logo

Boost Users :

From: Dale McCoy (dalestan_at_[hidden])
Date: 2006-07-31 13:53:56


> typedef boost::multi_index::multi_index_container<
> B*,
> boost::multi_index::indexed_by<
> boost::multi_index::ordered_unique<
> boost::multi_index::const_mem_fun<A, const std::string&, &A::ID>

I assume the error is on "&A::ID"? Are you sure that isn't supposed to
be A::&ID? I seem to remember something strange about taking the
address of member functions, but I'm afraid that I've forgotten the
exact details.

Dale


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