PR libstdc++/81002 fix std::basic_regex range constructor
commit478a417bada5bf762659e94cdc8bebac8e7ecc52
authorredi <redi@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 7 Jun 2017 15:43:35 +0000 (7 15:43 +0000)
committerredi <redi@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 7 Jun 2017 15:43:35 +0000 (7 15:43 +0000)
treefdd3bce4870cdf5d06cb2e1c735bfcb51ac8a837
parent55336a036a945a98ee5e36dfe7d850735749ce6e
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@248989 138bc75d-0d04-0410-961f-82ee72b054a4
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]