From: Dylan Trotter (trotterdylan_at_[hidden])
Date: 2005-11-20 21:46:46
> Hi Dylan, I'm sorry you had a hard time with that. The truth is,
> indices are not copyable; moreover, I comment on this very
> mistake you have stumbled upon at the end of the following
Whoops, guess I skimmed over that part. Sorry about the confusion.
> So, how come you can compile even when the docs state you
> shouldn't? The problem is that some compilers have problems with
> template friends (signaled by Boost.Config macro
> BOOST_NO_MEMBER_TEMPLATE_FRIENDS) that force me to make (on
> these compilers only) some internal index ctors public, hence
> your problem. What compiler are you using? MSVC 6.5/7.x/8.0
> all have this problem. Most others don't, and on those a
> nice compiler error would have popped up when compiling
> your snippet.
That makes perfect sense. I knew I should have just tried it on gcc to
see what happens.
> Again, I'm sorry for the time you might have wasted. At least,
> you have refrained from throwing the monitor out of the window :)
> Thanx for using Boost.MultiIndex.
No apologies necessary, my mistake. I'm getting a lot of use out of
> Joaquín M López Muñoz
> Telefónica, Investigación y Desarrollo
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk