]> git.ipfire.org Git - thirdparty/gcc.git/commit - libstdc++-v3/testsuite/28_regex/basic_regex/ctors/basic/iter.cc
PR libstdc++/81002 fix std::basic_regex range constructor
authorJonathan Wakely <jwakely@redhat.com>
Wed, 7 Jun 2017 15:43:35 +0000 (16:43 +0100)
committerJonathan Wakely <redi@gcc.gnu.org>
Wed, 7 Jun 2017 15:43:35 +0000 (16:43 +0100)
commitd840779ff4ea300b162c4ab45ff6c81ea7303bce
treefdd3bce4870cdf5d06cb2e1c735bfcb51ac8a837
parentfa1ae56a2f35be0eaeaf1fe453a9e5a9f844c63f
PR libstdc++/81002 fix std::basic_regex range constructor

PR libstdc++/81002
* include/bits/regex.h (basic_regex): Adjust call to __compile_nfa
so iterator type is deduced.
* include/bits/regex_compiler.h (__compile_nfa): Reorder template
parameters to allow iterator type to be deduced.
* testsuite/28_regex/basic_regex/ctors/basic/iter.cc: New.

From-SVN: r248989
libstdc++-v3/ChangeLog
libstdc++-v3/include/bits/regex.h
libstdc++-v3/include/bits/regex_compiler.h
libstdc++-v3/testsuite/28_regex/basic_regex/ctors/basic/iter.cc [new file with mode: 0644]