Correct moved state, a moved tsl::sparse_map or tsl::sparse_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::sparse_map
ortsl::sparse_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: