>>* C++ has a Map template in the STL which is ordered (a "Sorted 
>>Associative Container").

Alex Martelli wrote:

> Ordered *by comparisons on keys*, NOT by order of insertion -- an
> utterly and completely different idea.

Shame on me. I talked so much about the difference between "ordered" and 
"sorted" and now I wrote such a confusing sentence. You're right, C++ 
Maps are not an example for "ordered dictionaries", but for "sorted 
dictionaries".

-- Christoph
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to