|
Boost Users : |
From: bijas kn (knbijas_at_[hidden])
Date: 2008-05-28 00:07:59
Hi,
I am trying to use the the multi_index_container i the following ways, but
it is giving problem in ARMV5 compilor.
*1.*
*typedef multi_index_container<*
* xyz,*
* indexed_by<*
* hashed_unique<*
* ckey_t1*
*#if defined(BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION)*
* ,composite_key_result_hash<ckey_t1::result_type>*
* ,composite_key_result_equal_to<ckey_t1::result_type>*
*#endif*
* >*
* >*
* > indexed_t2;*
**
*2.*
*
typedef multi_index_container<
int,
indexed_by<
hashed_unique<identity<int> >
>
> hash_container;
3
typedef multi_index_container< int, indexed_by< random_access<>,
sequenced<>,
ordered_non_unique<identity<int>> >
> multi_index_t;
multi_index_t m;
4.
typedef multi_index_container< pair_of_ints, indexed_by<
ordered_unique<
BOOST_MULTI_INDEX_MEMBER(pair_of_ints,int,first)
>,ordered_non_unique<
BOOST_MULTI_INDEX_MEMBER(pair_of_ints,int,second)
>, random_access<>, sequenced<>>> multi_index_t;
*
**
**
*5.*
*
typedef multi_index_container<
pair_of_ints,
indexed_by<
ordered_unique<BOOST_MULTI_INDEX_MEMBER(pair_of_ints,int,first)>,
hashed_unique<BOOST_MULTI_INDEX_MEMBER(pair_of_ints,int,second)>,
sequenced<> > >
int_int_set;
int_int_set iis;
*
**
**
*6.*
*typedef multi_index_container<
pair_of_ints,
indexed_by<
hashed_unique<BOOST_MULTI_INDEX_MEMBER(pair_of_ints,int,first)>,
random_access<>,
ordered_unique<BOOST_MULTI_INDEX_MEMBER(pair_of_ints,int,second)> >
>
int_int_set;
int_int_set iis;
*
**
**
**
*Please help me on this, send me some useful links...*
**
*thnaks *
*Bijas*
**
**
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net