From Jason Turner

[re.err]

Diff to HTML by rtfpessoa

Files changed (1) hide show
  1. tmp/tmp22dzhncm/{from.md → to.md} +15 -17
tmp/tmp22dzhncm/{from.md → to.md} RENAMED
@@ -1,25 +1,23 @@
1
  ### Implementation-defined `error_type` <a id="re.err">[[re.err]]</a>
2
 
3
  ``` cpp
4
- namespace std {
5
- namespace regex_constants {
6
- typedef T3 error_type;
7
- constexpr error_type error_collate = unspecified;
8
- constexpr error_type error_ctype = unspecified;
9
- constexpr error_type error_escape = unspecified;
10
- constexpr error_type error_backref = unspecified;
11
- constexpr error_type error_brack = unspecified;
12
- constexpr error_type error_paren = unspecified;
13
- constexpr error_type error_brace = unspecified;
14
- constexpr error_type error_badbrace = unspecified;
15
- constexpr error_type error_range = unspecified;
16
- constexpr error_type error_space = unspecified;
17
- constexpr error_type error_badrepeat = unspecified;
18
- constexpr error_type error_complexity = unspecified;
19
- constexpr error_type error_stack = unspecified;
20
- }
21
  }
22
  ```
23
 
24
  The type `error_type` is an *implementation-defined* enumerated type (
25
  [[enumerated.types]]). Values of type `error_type` represent the error
 
1
  ### Implementation-defined `error_type` <a id="re.err">[[re.err]]</a>
2
 
3
  ``` cpp
4
+ namespace std::regex_constants {
5
+ using error_type = T3;
6
+ inline constexpr error_type error_collate = unspecified;
7
+ inline constexpr error_type error_ctype = unspecified;
8
+ inline constexpr error_type error_escape = unspecified;
9
+ inline constexpr error_type error_backref = unspecified;
10
+ inline constexpr error_type error_brack = unspecified;
11
+ inline constexpr error_type error_paren = unspecified;
12
+ inline constexpr error_type error_brace = unspecified;
13
+ inline constexpr error_type error_badbrace = unspecified;
14
+ inline constexpr error_type error_range = unspecified;
15
+ inline constexpr error_type error_space = unspecified;
16
+ inline constexpr error_type error_badrepeat = unspecified;
17
+ inline constexpr error_type error_complexity = unspecified;
18
+ inline constexpr error_type error_stack = unspecified;
 
 
19
  }
20
  ```
21
 
22
  The type `error_type` is an *implementation-defined* enumerated type (
23
  [[enumerated.types]]). Values of type `error_type` represent the error