Boost logo

Boost :

From: Alexander Ivanov (amivanov_at_[hidden])
Date: 2005-11-21 15:37:20

I'm having trouple compiling multi_index_container<> with VC++7.1

I started from bidirectional_map example from the library
that compiles and works just fine.

then i've added third tempate parameter CompareLessT to the bidirectional map:

template<typename FromT, typename ToT, typename CompareLessT>
struct bidir_map
   typedef std::pair<std::string, std::string> value_type;

   typedef multi_index_container<
      , indexed_by<
            , member<value_type, FromT, &value_type::first>
            , CompareLessT>
            , ordered_unique<
               , member<value_type, ToT, &value_type::second> >
               , CompareLessT
> type;

and it stops compiling giving me infamous INTERNAL COMPILER ERROR:
: fatal error C1001: INTERNAL COMPILER ERROR
        (compiler file 'msc1.cpp', line 2712)
         Please choose the Technical Support command on the Visual C++
         Help menu, or open the Technical Support help file for more information

I might choose to ms's technical support, but had a bad feeling it
wont do much good :).

Boost list run by bdawes at, gregod at, cpdaniel at, john at