[Bug libstdc++/64239] regex_iterator::operator= should copy match_results::position

2023-07-20 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64239 Jonathan Wakely changed: What|Removed |Added Target Milestone|--- |4.9.3

[Bug libstdc++/64239] regex_iterator::operator= should copy match_results::position

2015-03-09 Thread timshen at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64239 Tim Shen timshen at gcc dot gnu.org changed: What|Removed |Added Status|NEW |RESOLVED

[Bug libstdc++/64239] regex_iterator::operator= should copy match_results::position

2015-01-08 Thread timshen at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64239 --- Comment #8 from Tim Shen timshen at gcc dot gnu.org --- Author: timshen Date: Fri Jan 9 03:58:59 2015 New Revision: 219373 URL: https://gcc.gnu.org/viewcvs?rev=219373root=gccview=rev Log: PR libstdc++/64239 * include/bits/regex.h

[Bug libstdc++/64239] regex_iterator::operator= should copy match_results::position

2015-01-08 Thread timshen at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64239 --- Comment #9 from Tim Shen timshen at gcc dot gnu.org --- Author: timshen Date: Fri Jan 9 05:52:18 2015 New Revision: 219374 URL: https://gcc.gnu.org/viewcvs?rev=219374root=gccview=rev Log: PR libstdc++/64239 Backported form mainline

[Bug libstdc++/64239] regex_iterator::operator= should copy match_results::position

2015-01-06 Thread kariya_mitsuru at hotmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64239 --- Comment #7 from Mitsuru Kariya kariya_mitsuru at hotmail dot com --- When I used the match_results::swap on r218710, I got a compilation error. == sample code ==

[Bug libstdc++/64239] regex_iterator::operator= should copy match_results::position

2014-12-13 Thread timshen at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64239 --- Comment #5 from Tim Shen timshen at gcc dot gnu.org --- Author: timshen Date: Sat Dec 13 22:19:18 2014 New Revision: 218710 URL: https://gcc.gnu.org/viewcvs?rev=218710root=gccview=rev Log: PR libstdc++/64239 * include/bits/regex.h

[Bug libstdc++/64239] regex_iterator::operator= should copy match_results::position

2014-12-13 Thread timshen at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64239 --- Comment #6 from Tim Shen timshen at gcc dot gnu.org --- Author: timshen Date: Sat Dec 13 23:10:39 2014 New Revision: 218711 URL: https://gcc.gnu.org/viewcvs?rev=218711root=gccview=rev Log: PR libstdc++/64239 * include/bits/regex.h

[Bug libstdc++/64239] regex_iterator::operator= should copy match_results::position

2014-12-10 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64239 Jonathan Wakely redi at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |NEW Last

[Bug libstdc++/64239] regex_iterator::operator= should copy match_results::position

2014-12-10 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64239 --- Comment #2 from Jonathan Wakely redi at gcc dot gnu.org --- match_results::swap() fails to handle _M_in_iterator as well.

[Bug libstdc++/64239] regex_iterator::operator= should copy match_results::position

2014-12-10 Thread kariya_mitsuru at hotmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64239 --- Comment #3 from Mitsuru Kariya kariya_mitsuru at hotmail dot com --- Sorry, I confused the copy ctor with the copy assignment operator. But it seems that both are same results. operator= version :

[Bug libstdc++/64239] regex_iterator::operator= should copy match_results::position

2014-12-10 Thread timshen at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64239 --- Comment #4 from Tim Shen timshen at gcc dot gnu.org --- Sorry, I was once thinking that we should always use match_results::prefix().first as the start position of a match. It's true for regex_match and regex_search, but not true for