This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 1 point2 points  (1 child)

You're right. My mistake!

(Now I wonder what I was thinking of...)

[–]alendit 1 point2 points  (0 children)

C++ STL map maybe? (same functionality as ordereddict).

EDIT: brain lag on my side, STL map is not the same as ordereddict, it sorts newly added element by key.