Title
Inconsistent definition of basic_regex constructor
Status
cd1
Section
[re.regex]
Submitter
Bo Persson

Created on 2007-01-23.00:00:00 last changed 172 months ago

Messages

Date: 2010-10-21.18:28:33

Proposed resolution:

Change [re.regex.construct]:

template <class ForwardIterator InputIterator>
  basic_regex(ForwardIterator InputIterator first, ForwardIterator InputIterator last, 
              flag_type f = regex_constants::ECMAScript);
Date: 2007-01-23.00:00:00

Section [re.regex] lists a constructor

template<class InputIterator>
basic_regex(InputIterator first, InputIterator last,
                       flag_type f = regex_constants::ECMAScript);

However, in section [re.regex.construct], this constructor takes a pair of ForwardIterator.

History
Date User Action Args
2010-10-21 18:28:33adminsetmessages: + msg3263
2007-01-23 00:00:00admincreate