tmp/tmphadq7_aq/{from.md → to.md}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
| 1 |
-
### General <a id="re.regex.general">[[re.regex.general]]</a>
|
| 2 |
|
| 3 |
For a char-like type `charT`, specializations of class template
|
| 4 |
`basic_regex` represent regular expressions constructed from character
|
| 5 |
sequences of `charT` characters. In the rest of [[re.regex]], `charT`
|
| 6 |
denotes a given char-like type. Storage for a regular expression is
|
|
@@ -25,13 +25,13 @@ namespace std {
|
|
| 25 |
class basic_regex {
|
| 26 |
public:
|
| 27 |
// types
|
| 28 |
using value_type = charT;
|
| 29 |
using traits_type = traits;
|
| 30 |
-
using string_type =
|
| 31 |
using flag_type = regex_constants::syntax_option_type;
|
| 32 |
-
using locale_type =
|
| 33 |
|
| 34 |
// [re.synopt], constants
|
| 35 |
static constexpr flag_type icase = regex_constants::icase;
|
| 36 |
static constexpr flag_type nosubs = regex_constants::nosubs;
|
| 37 |
static constexpr flag_type optimize = regex_constants::optimize;
|
|
|
|
| 1 |
+
#### General <a id="re.regex.general">[[re.regex.general]]</a>
|
| 2 |
|
| 3 |
For a char-like type `charT`, specializations of class template
|
| 4 |
`basic_regex` represent regular expressions constructed from character
|
| 5 |
sequences of `charT` characters. In the rest of [[re.regex]], `charT`
|
| 6 |
denotes a given char-like type. Storage for a regular expression is
|
|
|
|
| 25 |
class basic_regex {
|
| 26 |
public:
|
| 27 |
// types
|
| 28 |
using value_type = charT;
|
| 29 |
using traits_type = traits;
|
| 30 |
+
using string_type = traits::string_type;
|
| 31 |
using flag_type = regex_constants::syntax_option_type;
|
| 32 |
+
using locale_type = traits::locale_type;
|
| 33 |
|
| 34 |
// [re.synopt], constants
|
| 35 |
static constexpr flag_type icase = regex_constants::icase;
|
| 36 |
static constexpr flag_type nosubs = regex_constants::nosubs;
|
| 37 |
static constexpr flag_type optimize = regex_constants::optimize;
|