PR libstdc++/83538 fix std::match_results<T>::reference (LWG 2306)
authorJonathan Wakely <jwakely@redhat.com>
Wed, 27 Dec 2017 19:43:33 +0000 (19:43 +0000)
committerJonathan Wakely <redi@gcc.gnu.org>
Wed, 27 Dec 2017 19:43:33 +0000 (19:43 +0000)
commitc41743d0c0d498bd55c91285d5324b02bed7fb54
tree28e606516f0b63f89bdf32341802267c3e27631a
parentaefd636b3cc00e1aa37537f9fa3a8381883a1d19
PR libstdc++/83538 fix std::match_results<T>::reference (LWG 2306)

PR libstdc++/83538
* doc/xml/manual/intro.xml: Document LWG 2306 change.
* include/bits/regex.h (match_results::reference): Change to
non-const reference.
* testsuite/28_regex/match_results/typedefs.cc: Check types are
correct.

From-SVN: r256012
libstdc++-v3/ChangeLog
libstdc++-v3/doc/xml/manual/intro.xml
libstdc++-v3/include/bits/regex.h
libstdc++-v3/testsuite/28_regex/match_results/typedefs.cc