21 Mar
2011
21 Mar
'11
3:19 p.m.
On 03/20/11 19:21, Peter Foelsche wrote:
It looks like two maps with the same entries but different ordering are considered different. I'm trying to create a set of maps and I'm inserting two maps. Both maps are identical but the order in which the items were inserted into the map is different. I was thinking that an associative sequence like set is using is_same to compare two elements and I tried to overload is_same -- but this did not work.
IIRC, mpl uses mpl::equal(or some similar name) to test equality of associative sequences.