I added the ::type to every insert.
It still does not compile -- not using g++ nor using visual C++.
Error message is not helpful.
Also is there some operation to insert all elements of one map into another one?
This would be extremely helpful.
#include
CMap2;
typedef boost::mpl::insert< CMap2, boost::mpl::pair< boost::mpl::int_<2>, boost::mpl::int_<3> >::type
CMap3;
typedef boost::mpl::insert< CMap3, boost::mpl::pair< boost::mpl::int_<2>, boost::mpl::int_<3> >::type
CMap31;
int main(int, char**)
{ CMap2 s;
CMap3 s1;
CMap31 s2;
//BOOST_MPL_ASSERT((boost::is_same