Name |
Last commit
|
Last update |
---|---|---|
.. | ||
algorithms | ||
basic_regex | ||
constants | ||
headers/regex | ||
iterators | ||
match_results | ||
regex_error | ||
requirements | ||
sub_match | ||
traits | ||
init-list.cc | ||
range_access.cc | ||
regression.cc | ||
simple_c++11.cc |
In C++11 and C++14 any odr-use of these constants requires a definition at namespace-scope. In C++17 they are implicitly inline and so the namespace-scope redeclarations are redundant (and allowing them is deprecated). PR libstdc++/85098 * include/bits/regex.h [__cplusplus < 201703L] (basic_regex::icase) (basic_regex::nosubs, basic_regex::optimize, basic_regex::collate) (basic_regex::ECMAScript, basic_regex::basic, basic_regex::extended) (basic_regex::awk, basic_regex::grep, basic_regex::egrep): Add definitions. * include/bits/regex_automaton.h (_NFA::_M_insert_state): Adjust whitespace. * include/bits/regex_compiler.tcc (__INSERT_REGEX_MATCHER): Add braces around body of do-while. * testsuite/28_regex/basic_regex/85098.cc: New From-SVN: r260371
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
algorithms | Loading commit data... | |
basic_regex | Loading commit data... | |
constants | Loading commit data... | |
headers/regex | Loading commit data... | |
iterators | Loading commit data... | |
match_results | Loading commit data... | |
regex_error | Loading commit data... | |
requirements | Loading commit data... | |
sub_match | Loading commit data... | |
traits | Loading commit data... | |
init-list.cc | Loading commit data... | |
range_access.cc | Loading commit data... | |
regression.cc | Loading commit data... | |
simple_c++11.cc | Loading commit data... |