STL containers element destruction order

  1. Unspecified in the standard.
  2. Yes, but this means that the key is destroyed after its associated value.

Leave a Comment