
20 Apr
2006
20 Apr
'06
7:15 p.m.
Hmm. Perhaps specialisations could be written that in debug mode check the tree is actually sorted.
What kind of dangerousness are we talking about here: a crash or false results?
False results. upper_bound / lower_bound / binary_search only work on sorted ranges. Property_tree might look like a sorted range on first sight, but in reality it is not (unless explicitly sorted). Marcin