When compiling the following code on VC70
struct tTest {
tTest() : x(0), y(0), z(0)
int x,y,z;
};
typedef multi_index_container<
tTest,
indexed_by<
ordered_unique<
composite_key<
BOOST_MULTI_INDEX_MEMBER(tTest, int, x)
,BOOST_MULTI_INDEX_MEMBER(tTest, int, y)
) // replaced > with ) since gmane thinks I'm top-posting
)
)
) tTestList;
void func() {
tTestList u;
u.insert(tTest());
}
I get an error
boost\multi_index\composite_key.hpp(573) : error C2100: illegal indirection
boost\multi_index\ordered_index.hpp(562) : see reference to function
template
instantiation 'boost::multi_index::composite_key