$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
From: Peter Dimov (pdimov_at_[hidden])
Date: 2006-01-09 07:10:01
Allen Zhao wrote:
> Hi, All,
>
> As I am working to get libtorrent working on Win32 with MSVC 7.0, I
> notice that BOOST_NO_MEMBER_TEMPLATES is defined by default. As a
> consquence, some of the functions in multi_index_container.cpp is not
> defined.
>
> For example,
>
> #if !defined(BOOST_NO_MEMBER_TEMPLATES)
You can try changing this to
#if defined( BOOST_MSVC_MEMBER_TEMPLATES )
This macro is automatically defined on compilers that support member 
templates and MSVC 6.0/7.0.
>  template<int N>
>  struct nth_index
>  {
>
>
>  BOOST_STATIC_ASSERT(N>=0&&N<mpl::size<index_type_list>::type::value);
> typedef typename mpl::at_c<index_type_list,N>::type type; };