23 Iterators library [iterators]

23.5 Iterator adaptors [predef.iterators]

23.5.2 Insert iterators [insert.iterators]

23.5.2.4 Class template insert_­iterator [insert.iterator]

23.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).