Checks the red-black and ordering invariants and the header; for tests.
Declared in <cptr/ordered_map.hpp>
<cptr/ordered_map.hpp>
bool valid() const;