Correct moved state, a moved tsl::ordered_map or tsl::ordered_set can now still be used after a move. Previously the map ended up in a invalid state after a move but the standard mandates that a moved object should be in a valid (but unspecified) state so that it can still be used after a move.
Correct moved state, a moved
tsl::ordered_map
ortsl::ordered_set
can now still be used after a move. Previously the map ended up in a invalid state after a move but the standard mandates that a moved object should be in a valid (but unspecified) state so that it can still be used after a move.The following code will now work: