Date
2022-05-17.11:58:16
Message id
12464

Content

Proposed resolution:

This wording is relative to N4910.

  1. Modify [associative.reqmts.general] as indicated:

    -5- For set and multiset the value type is the same as the key type. For map and multimap it is equal to pair<const Key, T>. Ending the lifetime of the key subobject of a container element by means other than invoking a member function of the container results in undefined behavior.

  2. Modify [unord.req.general] as indicated:

    -7- For unordered_set and unordered_multiset the value type is the same as the key type. For unordered_map and unordered_multimap it is pair<const Key, T>. Ending the lifetime of the key subobject of a container element by means other than invoking a member function of the container results in undefined behavior.