[back.insert.iter.general]

# 24 Iterators library [[iterators]](./#iterators)

## 24.5 Iterator adaptors [[predef.iterators]](predef.iterators#back.insert.iter.general)

### 24.5.2 Insert iterators [[insert.iterators]](insert.iterators#back.insert.iter.general)

#### 24.5.2.2 Class template back_insert_iterator [[back.insert.iterator]](back.insert.iterator#back.insert.iter.general)

#### 24.5.2.2.1 General [back.insert.iter.general]

[ð](#lib:back_insert_iterator)

namespace std {template<class Container>class back_insert_iterator {protected: Container* container; public:using iterator_category = output_iterator_tag; using value_type = void; using difference_type = ptrdiff_t; using pointer = void; using reference = void; using container_type = Container; constexpr explicit back_insert_iterator(Container& x); constexpr back_insert_iterator& operator=(const typename Container::value_type& value); constexpr back_insert_iterator& operator=(typename Container::value_type&& value); constexpr back_insert_iterator& operator*(); constexpr back_insert_iterator& operator++(); constexpr back_insert_iterator operator++(int); };}
