Template:cpp/container/emplace assoc

Inserts a new element into the container constructed in-place with the given.

Careful use of allows the new element to be constructed while avoiding unnecessary copy or move operations.

Exceptions
If an exception is thrown by any operation, this function has no effect (strong exception guarantee).