25 Iterators library [iterators]

25.5 Iterator adaptors [predef.iterators]

25.5.2 Insert iterators [insert.iterators]

25.5.2.4 Class template insert_­iterator [insert.iterator]

25.5.2.4.2 inserter [inserter]

template<class Container> constexpr insert_iterator<Container> inserter(Container& x, ranges::iterator_t<Container> i);
Returns: insert_­iterator<Container>(x, i).