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
, boost::multi_index::composite_key< t_ac_client_basic, boost::multi_index::member , boost::multi_index::member >, boost::multi_index::composite_key_compare< std::less , std::less > > > t_ac_client_basic_set;
I get a error,when add this code pk_t_ac_client_basic_Index& test = testSet.get
; : error C3867: “boost::multi_index::multi_index_container [...] ::get”: 函数调用缺少参数列表;请使 [...]
I can't read Chinese, but Google Translate suggests
the compiler is complaining about missing args to get,
which is indeed the problem:
testSet.get