$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
From: Themistoklis Bourdenas (themis_at_[hidden])
Date: 2006-07-31 10:47:03
Could you help me understand what I'm doing wrong in the code below? I'm
trying to setup a multi_index structure of class B.
class A
{
const std::string& ID(void) const;
...
};
class B : public A
{
...
};
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>
>
>
> BSet;
However when I compile VS2005 returns me an "illegal indirection"
compile error. Any thoughts?
Thanks