|
Boost Users : |
Subject: Re: [Boost-users] multi_index::composite_key with char[]
From: Joaquin M LópezMuñoz (joaquin_at_[hidden])
Date: 2015-12-16 08:28:00
leyiliu <595657419 <at> qq.com> writes:
> > leyiliu <595657419 <at> qq.com> writes:
> >
> >> I follow your suggest,define the set like this:
> >>
> >> typedef boost::multi_index_container<
> >> t_ac_client_basic,
> >> boost::multi_index::indexed_by<
> >>
> >> boost::multi_index::ordered_non_unique<
> >> boost::multi_index::tag
> > <pk_t_ac_client_basic>
> > ,
> >> boost::multi_index::composite_key<
> >> t_ac_client_basic,
> >> boost::multi_index::member<t_ac_client_basic, char[21],
> > > &t_ac_client_basic::LCcode >,
> >> boost::multi_index::member<t_ac_client_basic, char[21],
> > > &t_ac_client_basic::ClientID >
> >> >,
> >> boost::multi_index::composite_key_compare<
> >> std::less
> > <const char*>
> > ,
> $%ÍÑèé±ÍÌ(øøñ½¹ÍС
Ȩø(øøø$$ø(øøø$$ø(øøø$$ø(øøø$øÑ}
}±¥¹Ñ}
Í¥}ÍÐì(ø(ø(øM½ÉÉä±1½¹Ñ¥µ¹¼Í¸(ø½±±½Üå½ÔÍÕÍб$
¸¥¹ÍÉбµ¹Ð¥¹Ñ¼Ñ¡½¹Ñ
¥¹È¹ ÕÐÑ¡¥¹ ¤¥Ì(ø
±Í¼Áɽ±´¸(ø©ÑÍй¥¹¡ÍÑèéµ
}ÑÕÁ± -L°Ä¤¤ì¨¸(ø(øÑ¡
¹Ì±½Ð()= °µä
¸ÍÑèé±ÍÌñ½¹ÍС
Ȩø½Ì¹½Ðݽɬ¡É°
̥нµÁ
ÉÌ)Á½¥¹ÑÉÌÉ
Ñ¡ÈÑ¡
¸Ñ¡½¹Ñ¹ÑÌÑ¡äÁ½¥¹ÐѼ¸M¼å½Ô¹Ñ¼Áɽ٥)å½ÕȽݸ½µÁ
É
ѽȱ¥è((ÍÑÉÕбÍÍ}ÍÑÈ(ì(½½°½ÁÉ
Ñ½È ¤¡½¹ÍС
ȨÀı½¹ÍС
ȨÀÈ¥½¹ÍÐ(ì(ÉÑÕɸÍÑèéÍÑɵÀ¡ÀıÀȤðÀì(ô(ôì()$ÙÑɥѡ¥Ì¥¸Ñ¡á
µÁ±
½Ù
¹Ñ¡Ñ¡¥¹Ý½ÉÌ°Á±
ÍÉÁ½ÉÐ)
¬å½ÕÈÉÍÕ±Ñ̸())½
Å×µ¸43ÍÁè5׎è)Q±Í¹¥((¥¹±Õñ½½ÍнµÕ±Ñ¥}¥¹á}½¹Ñ
¥¹à¢6æ6ÇVFRÆ&ö÷7Bö×VÇFöæFWöÖVÖ&W"æà¢6æ6ÇVFRÆ&ö÷7Bö×VÇFöæFWö6ö×÷6FUö¶Wæà¢6æ6ÇVFRÆ&ö÷7Bö×VÇFöæFWö÷&FW&VEöæFWæà¢6æ6ÇVFRÆ77G&æsà¢6æ6ÇVFRÆ÷7G&VÓà ¢7G'V7B¢°¢6öç7B6"¢Æ6öç7B6"¢"¢°¢7FC£§7G&æ77G#ÇÃ#°¢7FC£§7G&æ77G#"Ç"Ã#°¢Ð¢ÝOY[X\Ú\ÌK ÝÛÛ\ÜÚ]WÚÙ^WØÛÛ\\O\Ü×ÜÝ\Ü×ÜÝÂ[XZ[
BÂ][WÚ[^Ý\ÝÞÈÔÈHKÈPKÈÑH_NÂ]]È]]\Ý[
ÝXZÙWÝ\JÔÈHJNÂÝÛÝ]]OÝO]OÝÂ
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