Closed Mark-Joy closed 7 years ago
Thank you. There was effectively a bug in clear()
, made the correction.
I get the following results now (some code seems to be missing in your example, there is only three printed lines):
ordered_set: 104 1099 302 208
ordered_set: 104 1099 208 302
ordered_set: 104 1099 208 302
I download latest commit and it's working fine now. Thank you for your good work and fast response!
After clear() is called, nothing behave as it should be. My program even crashes sometimes. Not sure if it also happens to ordered_map
output: ordered_set: 104 1099 302 208 ordered_set: 104 1099 302 208 ordered_set: 104 1099 302 208 ordered_set: 104 1099 302 208 301
should be: ordered_set: 104 1099 302 208 ordered_set: 104 1099 208 302 ordered_set: 104 1099 208 302 ordered_set: 104 1099 208 301