tmp/tmpbd8e_25f/{from.md → to.md}
RENAMED
|
@@ -6,27 +6,28 @@ expression traits. The class template `regex_traits`, defined in Clause
|
|
| 6 |
|
| 7 |
The class template `basic_regex`, defined in Clause [[re.regex]], needs
|
| 8 |
a set of related types and functions to complete the definition of its
|
| 9 |
semantics. These types and functions are provided as a set of member
|
| 10 |
typedefs and functions in the template parameter `traits` used by the
|
| 11 |
-
`basic_regex` class template. This subclause defines the semantics
|
| 12 |
-
|
| 13 |
|
| 14 |
To specialize class template `basic_regex` for a character container
|
| 15 |
`CharT` and its related regular expression traits class `Traits`, use
|
| 16 |
`basic_regex<CharT, Traits>`.
|
| 17 |
|
| 18 |
In Table [[tab:re:RegexpTraits]] `X` denotes a traits class defining
|
| 19 |
types and functions for the character container type `charT`; `u` is an
|
| 20 |
object of type `X`; `v` is an object of type `const
|
| 21 |
-
X`; `p` is a value of type `const charT*`; `I1` and `I2` are
|
| 22 |
-
|
| 23 |
-
|
| 24 |
-
object of type `
|
| 25 |
-
`
|
| 26 |
-
`
|
|
|
|
| 27 |
|
| 28 |
Class template `regex_traits` satisfies the requirements for a regular
|
| 29 |
expression traits class when it is specialized for `char` or `wchar_t`.
|
| 30 |
-
This
|
| 31 |
described in Clause [[re.traits]].
|
| 32 |
|
|
|
|
| 6 |
|
| 7 |
The class template `basic_regex`, defined in Clause [[re.regex]], needs
|
| 8 |
a set of related types and functions to complete the definition of its
|
| 9 |
semantics. These types and functions are provided as a set of member
|
| 10 |
typedefs and functions in the template parameter `traits` used by the
|
| 11 |
+
`basic_regex` class template. This subclause defines the semantics of
|
| 12 |
+
these members.
|
| 13 |
|
| 14 |
To specialize class template `basic_regex` for a character container
|
| 15 |
`CharT` and its related regular expression traits class `Traits`, use
|
| 16 |
`basic_regex<CharT, Traits>`.
|
| 17 |
|
| 18 |
In Table [[tab:re:RegexpTraits]] `X` denotes a traits class defining
|
| 19 |
types and functions for the character container type `charT`; `u` is an
|
| 20 |
object of type `X`; `v` is an object of type `const
|
| 21 |
+
X`; `p` is a value of type `const charT*`; `I1` and `I2` are input
|
| 22 |
+
iterators ([[input.iterators]]); `F1` and `F2` are forward iterators (
|
| 23 |
+
[[forward.iterators]]); `c` is a value of type `const charT`; `s` is an
|
| 24 |
+
object of type `X::string_type`; `cs` is an object of type
|
| 25 |
+
`const X::string_type`; `b` is a value of type `bool`; `I` is a value of
|
| 26 |
+
type `int`; `cl` is an object of type `X::char_class_type`, and `loc` is
|
| 27 |
+
an object of type `X::locale_type`.
|
| 28 |
|
| 29 |
Class template `regex_traits` satisfies the requirements for a regular
|
| 30 |
expression traits class when it is specialized for `char` or `wchar_t`.
|
| 31 |
+
This class template is described in the header `<regex>`, and is
|
| 32 |
described in Clause [[re.traits]].
|
| 33 |
|