template<class InputIterator>
basic_regex(InputIterator first, InputIterator last,
flag_type f = regex_constants::ECMAScript);
However, in section 28.8.2/15 [re.regex.construct], this constructor takes a
pair of ForwardIterator.
Proposed resolution:
One of
1) If an InputIterator is sufficient to construct a basic_regex, change
[re.regex.construct] to show that.
2) Otherwise change [re.regex] to require a ForwardIterator.
Bo Persson
---
[ comp.std.c++ is moderated. To submit articles, try just posting with ]
[ your news-reader. If that fails, use mailto:std...@ncar.ucar.edu ]
[ --- Please see the FAQ before posting. --- ]
[ FAQ: http://www.comeaucomputing.com/csc/faq.html ]