#define _CRT_SECURE_NO_DEPRECATE
#define _SCL_SECURE_NO_DEPRECATE
#include <boost/config.hpp>
#include <string>
#include <boost/assign/list_of.hpp>
#include <boost/assign/list_inserter.hpp>
#include <boost/bimap/bimap.hpp>
#include <boost/bimap/multiset_of.hpp>
#include <boost/bimap/list_of.hpp>
using namespace boost::bimaps;
using namespace boost;
int main()
{
typedef bimap< multiset_of< int >, list_of< std::string > > bm_type;
bm_type bm = assign::list_of< bm_type::relation >
( 1, "one" )
( 2, "two" )
( 3, "three" );
assign::insert( bm.left )
( 4, "four" )
( 5, "five" )
( 6, "six" );
assign::push_back( bm.right )
( "seven" , 7 )
( "eight" , 8 );
assign::push_front( bm.right )
( "nine" , 9 )
( "ten" , 10 )
( "eleven", 11 );
assign::insert( bm )
( 12, "twelve" )
( 13, "thirteen" );
return 0;
}