diff options
author | Jonathan Wakely <jwakely@redhat.com> | 2021-10-01 14:06:42 +0100 |
---|---|---|
committer | Jonathan Wakely <jwakely@redhat.com> | 2021-10-01 15:04:03 +0100 |
commit | 17374dab3eefd282977ad90743c9aff97f2e41ce (patch) | |
tree | c2955fe3f1ba3e0ca7703dbda87e9f4e036fd3a6 /gcc/BASE-VER | |
parent | 94311bf34704ebecf745043fe2df03df201052fe (diff) | |
download | gcc-17374dab3eefd282977ad90743c9aff97f2e41ce.zip gcc-17374dab3eefd282977ad90743c9aff97f2e41ce.tar.gz gcc-17374dab3eefd282977ad90743c9aff97f2e41ce.tar.bz2 |
libstdc++: Define basic_regex::multiline for non-strict modes
The regex_constants::multiline constant is defined for non-strict C++11
and C++14 modes, on the basis that the feature is a DR (even though it
was really a new feature addition to C++17 and probably shouldn't have
gone through the issues list).
This makes the basic_regex::multiline constant defined consistently with
the regex_constants::multiline one.
For strict C++11 and C++14 mode we don't define them, because multiline
is not a reserved name in those standards.
libstdc++-v3/ChangeLog:
* include/bits/regex.h (basic_regex::multiline): Define for
non-strict C++11 and C++14 modes.
* include/bits/regex_constants.h (regex_constants::multiline):
Add _GLIBCXX_RESOLVE_LIB_DEFECTS comment.
Diffstat (limited to 'gcc/BASE-VER')
0 files changed, 0 insertions, 0 deletions