Hello JoaquĆn, Hello Pavel, thank you for your responses.
typedef composite_key
SBothKeyExtractor_t; typedef multi_index_container ordered_non_unique ordered_unique MultiIndex_t;
The typedef SBothKeyExtractor_t causes an internal compiler error of the Visual C++ 7.1 Compiler, too. d:\Libraries\DLLs\Boost\Boost_1_32_0\inc\boost\tuple\detail\tuple_basic.hpp(612): fatal error C1001: INTERNAL COMPILER ERROR (compiler file 'msc1.cpp', line 2701) Please choose the Technical Support command on the Visual C++ Help menu, or open the Technical Support help file for more information
if this still doesn't work, try then
struct SBothKeyExtractor_t: public composite_key
{ }; // as before
The declaration of the struct fixes the problem. Now, I'm able to build
the example without an error. Thanks a lot.
For completeness. Below is the whole source code of my initial example, which
causes the internal compiler error:
#include <string>
#include