24 Nov
2011
24 Nov
'11
9:44 a.m.
Elem_entry fc1 = Elem_entry(1,90,99); Extracting: elementbook::iterator it; it = pb.find(boost::make_tuple(99,90)); ????? Is it possible to simulate this requirement?
How do you expect MIC to know what 99 is and what 90 is? MIC assumes that the order of tuple elements corresponds to the order of the part in your composite key:
composite_key< Elem_entry, member
, member >
i.e., the 1st one is node1, and the 2dn one is node2.