[container.insert.return]

# 23 Containers library [[containers]](./#containers)

## 23.2 Requirements [[container.requirements]](container.requirements#container.insert.return)

### 23.2.6 Insert return type [container.insert.return]

[1](#1)

[#](http://github.com/Eelis/draft/tree/9adde4bc1c62ec234483e63ea3b70a59724c745a/source/containers.tex#L2605)

The associative containers with unique keys and the unordered containers with unique keys
have a member function insert that returns a nested type insert_return_type[.](#1.sentence-1)

That return type is a specialization of the template specified in this subclause[.](#1.sentence-2)

template<class Iterator, class NodeType>struct *insert-return-type*{ Iterator position; bool inserted;
 NodeType node;};

[2](#2)

[#](http://github.com/Eelis/draft/tree/9adde4bc1c62ec234483e63ea3b70a59724c745a/source/containers.tex#L2620)

The name *insert-return-type* is for exposition only[.](#2.sentence-1)

*insert-return-type* has the template parameters,
data members, and special members specified above[.](#2.sentence-2)

It has no base classes or members other than those specified[.](#2.sentence-3)
