This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/81002] std::basic_regex can't be constructed from non-contiguous iterators
- From: "redi at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 07 Jun 2017 17:01:31 +0000
- Subject: [Bug libstdc++/81002] std::basic_regex can't be constructed from non-contiguous iterators
- Auto-submitted: auto-generated
- References: <bug-81002-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81002
--- Comment #5 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Author: redi
Date: Wed Jun 7 17:00:56 2017
New Revision: 248993
URL: https://gcc.gnu.org/viewcvs?rev=248993&root=gcc&view=rev
Log:
PR libstdc++/81002 fix std::basic_regex range constructor
PR libstdc++/81002
* include/bits/regex_compiler.h (__compile_nfa): Add template argument
list to specify traits type.
* testsuite/28_regex/basic_regex/ctors/basic/iter.cc: New.
Added:
branches/gcc-5-branch/libstdc++-v3/testsuite/28_regex/basic_regex/ctors/basic/iter.cc
Modified:
branches/gcc-5-branch/libstdc++-v3/ChangeLog
branches/gcc-5-branch/libstdc++-v3/include/bits/regex_compiler.h