I now have my story straight with respect to the compiler versions.
With the latest compiler, I still cannot get a multi-index case to work.
The error is considerably smaller than with the old compiler. (Not much
joy there.)
I was fooled because, if I instantiate the indexed object inside a class
method, the compiler doesn't actually get around to finishing the
compilation process until link time. So I had the appearance of a
successful compile.
I'm willing to spend some time trying to find a way to work around
whatever it is in boost if the whomever last wrestled with this compiler
would give me something to start from. It would also be reassuring if
the bjam configuration problem I reported were to be patched.
+ /studio11/SUNWspro/bin/CC -c -DDEBUG -D_STL=std
-I./../rlp/utilities/include -I./../third-party-tools/boost -KPIC -mt -w
-g bloop1.cpp
"./../third-party-tools/boost/boost/multi_index/hashed_index.hpp", line
539: Error: Could not find
boost::multi_index::detail::index_base,
boost::multi_index::member, ustring_hasher,
mpl_::na>, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na,
mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na,
mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na>,
std::allocator<employee>>::index_base(const boost::tuples::null_type,
const int) to initialize base class.
"./../third-party-tools/boost/boost/multi_index_container.hpp", line
186: Where: While instantiating
"boost::multi_index::detail::hashed_index, ustring_hasher, std::equal_tostd::string,
boost::multi_index::detail::nth_layer<1, employee,
boost::multi_index::indexed_by,
boost::multi_index::member, ustring_hasher,
mpl_::na>, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na,
mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na,
mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na>,
std::allocator<employee>>, boost::mpl::vector1<name>,
boost::multi_index::detail::hashed_unique_tag>::hashed_index(const
boost::tuples::cons, ustring_hasher,
std::equal_tostd::string, boost::tuples::null_type,
boost::tuples::null_type, boost::tuples::null_type,
boost::tuples::null_type, boost::tuples::null_type,
boost::tuples::null_type>, boost::tuples::null_type>&, const int&)".
"./../third-party-tools/boost/boost/multi_index_container.hpp", line
186: Where: Instantiated from non-template code.
1 Error(s) detected.