Title
Insert iterators should each have an instantiation guide to initialize from a container
Status
nad
Section
[insert.iterators]
Submitter
United States

Created on 2017-02-03.00:00:00 last changed 89 months ago

Messages

Date: 2017-07-15.23:15:19

Proposed resolution:

This wording is relative to N4618.

  1. Add to the synopsis of <iterator>:

    
    template <class Container> back_insert_iterator(Container&) -> back_insert_iterator<Container>;
    template <class Container> front_insert_iterator(Container&) -> back_insert_iterator<Container>;
    template <class Container> insert_iterator(Container&, typename Container::iterator) -> insert_iterator<Container>;
    
Date: 2017-07-15.23:15:19

[ 2017-07 Toronto Thurs Issue Prioritization ]

After the core changes in Kona, these guides are no longer necessary; the implicit ones are sufficient.

Date: 2017-02-05.14:22:11
Addresses US 151

The three insert iterators should each have an instantiation guide to initialize from a container.

Proposed change:

Add to the <iterator> header synopsis:

template <class Container>
back_insert_iterator(Container&) -> back_insert_iterator<Container>;
template <class Container>
front_insert_iterator(Container&) -> back_insert_iterator<Container>;
template <class Container>
insert_iterator(Container&, typename Container::iterator) -> insert_iterator<Container>;
History
Date User Action Args
2017-07-15 23:15:19adminsetmessages: + msg9396
2017-07-15 23:15:19adminsetstatus: new -> nad
2017-02-04 04:54:35adminsetmessages: + msg8911
2017-02-03 00:00:00admincreate