diff options
author | Jonathan Wakely <jwakely@redhat.com> | 2021-10-11 17:19:43 +0100 |
---|---|---|
committer | Jonathan Wakely <jwakely@redhat.com> | 2021-10-11 20:35:45 +0100 |
commit | 247bac507e63b32d4dc23ef1c55f300aafea24c6 (patch) | |
tree | 661ca04883c525d6b84a28707e976c16ae81de88 /gcc | |
parent | 45ba5426c129993704a73e6ace4016eaa950d7ee (diff) | |
download | gcc-247bac507e63b32d4dc23ef1c55f300aafea24c6.zip gcc-247bac507e63b32d4dc23ef1c55f300aafea24c6.tar.gz gcc-247bac507e63b32d4dc23ef1c55f300aafea24c6.tar.bz2 |
libstdc++: Simplify std::basic_regex::assign
We know that if __is_contiguous_iterator is true then we have a pointer
or a __normal_iterator that wraps a pointer, so we don't need to use
std::__to_address.
libstdc++-v3/ChangeLog:
* include/bits/regex.h (basic_regex::assign(Iter, Iter)): Avoid
std::__to_address by using poitner directly or using base()
member of __normal_iterator.
Diffstat (limited to 'gcc')
0 files changed, 0 insertions, 0 deletions