forked from boostorg/regex
Rebuild the regex documentation.
[SVN r63768]
This commit is contained in:
@ -2,8 +2,8 @@
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
|
||||
<title>Traits Class Requirements</title>
|
||||
<link rel="stylesheet" href="../../../../../../../doc/html/boostbook.css" type="text/css">
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.74.0">
|
||||
<link rel="stylesheet" href="../../../../../../../doc/src/boostbook.css" type="text/css">
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
|
||||
<link rel="home" href="../../../index.html" title="Boost.Regex">
|
||||
<link rel="up" href="../concepts.html" title="Concepts">
|
||||
<link rel="prev" href="charT_concept.html" title="charT Requirements">
|
||||
@ -20,9 +20,9 @@
|
||||
</tr></table>
|
||||
<hr>
|
||||
<div class="spirit-nav">
|
||||
<a accesskey="p" href="charT_concept.html"><img src="../../../../../../../doc/html/images/prev.png" alt="Prev"></a><a accesskey="u" href="../concepts.html"><img src="../../../../../../../doc/html/images/up.png" alt="Up"></a><a accesskey="h" href="../../../index.html"><img src="../../../../../../../doc/html/images/home.png" alt="Home"></a><a accesskey="n" href="iterator_concepts.html"><img src="../../../../../../../doc/html/images/next.png" alt="Next"></a>
|
||||
<a accesskey="p" href="charT_concept.html"><img src="../../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../concepts.html"><img src="../../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../index.html"><img src="../../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="iterator_concepts.html"><img src="../../../../../../../doc/src/images/next.png" alt="Next"></a>
|
||||
</div>
|
||||
<div class="section" lang="en">
|
||||
<div class="section">
|
||||
<div class="titlepage"><div><div><h4 class="title">
|
||||
<a name="boost_regex.ref.concepts.traits_concept"></a><a class="link" href="traits_concept.html" title="Traits Class Requirements"> Traits Class
|
||||
Requirements</a>
|
||||
@ -34,7 +34,7 @@
|
||||
Boost-specific enhanced interface.
|
||||
</p>
|
||||
<a name="boost_regex.ref.concepts.traits_concept.minimal_requirements_"></a><h5>
|
||||
<a name="id806618"></a>
|
||||
<a name="id884574"></a>
|
||||
<a class="link" href="traits_concept.html#boost_regex.ref.concepts.traits_concept.minimal_requirements_">Minimal
|
||||
requirements.</a>
|
||||
</h5>
|
||||
@ -64,324 +64,321 @@
|
||||
</colgroup>
|
||||
<thead><tr>
|
||||
<th>
|
||||
<p>
|
||||
Expression
|
||||
</p>
|
||||
<p>
|
||||
Expression
|
||||
</p>
|
||||
</th>
|
||||
<th>
|
||||
<p>
|
||||
Return type
|
||||
</p>
|
||||
<p>
|
||||
Return type
|
||||
</p>
|
||||
</th>
|
||||
<th>
|
||||
<p>
|
||||
Assertion / Note Pre / Post condition
|
||||
</p>
|
||||
<p>
|
||||
Assertion / Note Pre / Post condition
|
||||
</p>
|
||||
</th>
|
||||
</tr></thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>
|
||||
<p>
|
||||
X::char_type
|
||||
</p>
|
||||
<p>
|
||||
X::char_type
|
||||
</p>
|
||||
</td>
|
||||
<td>
|
||||
<p>
|
||||
charT
|
||||
</p>
|
||||
<p>
|
||||
charT
|
||||
</p>
|
||||
</td>
|
||||
<td>
|
||||
<p>
|
||||
The character container type used in the implementation of class
|
||||
template basic_regex.
|
||||
</p>
|
||||
<p>
|
||||
The character container type used in the implementation of class
|
||||
template basic_regex.
|
||||
</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<p>
|
||||
X::size_type
|
||||
</p>
|
||||
<p>
|
||||
X::size_type
|
||||
</p>
|
||||
</td>
|
||||
<td>
|
||||
<p>
|
||||
</p>
|
||||
</td>
|
||||
<td>
|
||||
<p>
|
||||
An unsigned integer type, capable of holding the length of a null-terminated
|
||||
string of charT's.
|
||||
</p>
|
||||
<p>
|
||||
An unsigned integer type, capable of holding the length of a
|
||||
null-terminated string of charT's.
|
||||
</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<p>
|
||||
X::string_type
|
||||
</p>
|
||||
<p>
|
||||
X::string_type
|
||||
</p>
|
||||
</td>
|
||||
<td>
|
||||
<p>
|
||||
std::basic_string<charT> or std::vector<charT>
|
||||
</p>
|
||||
<p>
|
||||
std::basic_string<charT> or std::vector<charT>
|
||||
</p>
|
||||
</td>
|
||||
<td>
|
||||
<p>
|
||||
</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<p>
|
||||
X::locale_type
|
||||
</p>
|
||||
<p>
|
||||
X::locale_type
|
||||
</p>
|
||||
</td>
|
||||
<td>
|
||||
<p>
|
||||
Implementation defined
|
||||
</p>
|
||||
<p>
|
||||
Implementation defined
|
||||
</p>
|
||||
</td>
|
||||
<td>
|
||||
<p>
|
||||
A copy constructible type that represents the locale used by the
|
||||
traits class.
|
||||
</p>
|
||||
<p>
|
||||
A copy constructible type that represents the locale used by
|
||||
the traits class.
|
||||
</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<p>
|
||||
X::char_class_type
|
||||
</p>
|
||||
<p>
|
||||
X::char_class_type
|
||||
</p>
|
||||
</td>
|
||||
<td>
|
||||
<p>
|
||||
Implementation defined
|
||||
</p>
|
||||
<p>
|
||||
Implementation defined
|
||||
</p>
|
||||
</td>
|
||||
<td>
|
||||
<p>
|
||||
A bitmask type representing a particular character classification.
|
||||
Multiple values of this type can be bitwise-or'ed together to obtain
|
||||
a new valid value.
|
||||
</p>
|
||||
<p>
|
||||
A bitmask type representing a particular character classification.
|
||||
Multiple values of this type can be bitwise-or'ed together to
|
||||
obtain a new valid value.
|
||||
</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<p>
|
||||
X::length(p)
|
||||
</p>
|
||||
<p>
|
||||
X::length(p)
|
||||
</p>
|
||||
</td>
|
||||
<td>
|
||||
<p>
|
||||
X::size_type
|
||||
</p>
|
||||
<p>
|
||||
X::size_type
|
||||
</p>
|
||||
</td>
|
||||
<td>
|
||||
<p>
|
||||
Yields the smallest i such that p[i] == 0. Complexity is linear
|
||||
in i.
|
||||
</p>
|
||||
<p>
|
||||
Yields the smallest i such that p[i] == 0. Complexity is linear
|
||||
in i.
|
||||
</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<p>
|
||||
v.translate(c)
|
||||
</p>
|
||||
<p>
|
||||
v.translate(c)
|
||||
</p>
|
||||
</td>
|
||||
<td>
|
||||
<p>
|
||||
X::char_type
|
||||
</p>
|
||||
<p>
|
||||
X::char_type
|
||||
</p>
|
||||
</td>
|
||||
<td>
|
||||
<p>
|
||||
Returns a character such that for any character d that is to be
|
||||
considered equivalent to c then v.translate(c) == v.translate(d).
|
||||
</p>
|
||||
<p>
|
||||
Returns a character such that for any character d that is to
|
||||
be considered equivalent to c then v.translate(c) == v.translate(d).
|
||||
</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<p>
|
||||
v.translate_nocase(c)
|
||||
</p>
|
||||
<p>
|
||||
v.translate_nocase(c)
|
||||
</p>
|
||||
</td>
|
||||
<td>
|
||||
<p>
|
||||
X::char_type
|
||||
</p>
|
||||
<p>
|
||||
X::char_type
|
||||
</p>
|
||||
</td>
|
||||
<td>
|
||||
<p>
|
||||
For all characters C that are to be considered equivalent to c
|
||||
when comparisons are to be performed without regard to case, then
|
||||
v.translate_nocase(c) == v.translate_nocase(C).
|
||||
</p>
|
||||
<p>
|
||||
For all characters C that are to be considered equivalent to
|
||||
c when comparisons are to be performed without regard to case,
|
||||
then v.translate_nocase(c) == v.translate_nocase(C).
|
||||
</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<p>
|
||||
v.transform(F1, F2)
|
||||
</p>
|
||||
<p>
|
||||
v.transform(F1, F2)
|
||||
</p>
|
||||
</td>
|
||||
<td>
|
||||
<p>
|
||||
X::string_type
|
||||
</p>
|
||||
<p>
|
||||
X::string_type
|
||||
</p>
|
||||
</td>
|
||||
<td>
|
||||
<p>
|
||||
Returns a sort key for the character sequence designated by the
|
||||
iterator range [F1, F2) such that if the character sequence [G1,
|
||||
G2) sorts before the character sequence [H1, H2) then v.transform(G1,
|
||||
G2) < v.transform(H1, H2).
|
||||
</p>
|
||||
<p>
|
||||
Returns a sort key for the character sequence designated by the
|
||||
iterator range [F1, F2) such that if the character sequence [G1,
|
||||
G2) sorts before the character sequence [H1, H2) then v.transform(G1,
|
||||
G2) < v.transform(H1, H2).
|
||||
</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<p>
|
||||
v.transform_primary(F1, F2)
|
||||
</p>
|
||||
<p>
|
||||
v.transform_primary(F1, F2)
|
||||
</p>
|
||||
</td>
|
||||
<td>
|
||||
<p>
|
||||
X::string_type
|
||||
</p>
|
||||
<p>
|
||||
X::string_type
|
||||
</p>
|
||||
</td>
|
||||
<td>
|
||||
<p>
|
||||
Returns a sort key for the character sequence designated by the
|
||||
iterator range [F1, F2) such that if the character sequence [G1,
|
||||
G2) sorts before the character sequence [H1, H2) when character
|
||||
case is not considered then v.transform_primary(G1, G2) < v.transform_primary(H1,
|
||||
H2).
|
||||
</p>
|
||||
<p>
|
||||
Returns a sort key for the character sequence designated by the
|
||||
iterator range [F1, F2) such that if the character sequence [G1,
|
||||
G2) sorts before the character sequence [H1, H2) when character
|
||||
case is not considered then v.transform_primary(G1, G2) <
|
||||
v.transform_primary(H1, H2).
|
||||
</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<p>
|
||||
v.lookup_classname(F1, F2)
|
||||
</p>
|
||||
<p>
|
||||
v.lookup_classname(F1, F2)
|
||||
</p>
|
||||
</td>
|
||||
<td>
|
||||
<p>
|
||||
X::char_class_type
|
||||
</p>
|
||||
<p>
|
||||
X::char_class_type
|
||||
</p>
|
||||
</td>
|
||||
<td>
|
||||
<p>
|
||||
Converts the character sequence designated by the iterator range
|
||||
[F1,F2) into a bitmask type that can subsequently be passed to
|
||||
isctype. Values returned from lookup_classname can be safely bitwise
|
||||
or'ed together. Returns 0 if the character sequence is not the
|
||||
name of a character class recognized by X. The value returned shall
|
||||
be independent of the case of the characters in the sequence.
|
||||
</p>
|
||||
<p>
|
||||
Converts the character sequence designated by the iterator range
|
||||
[F1,F2) into a bitmask type that can subsequently be passed to
|
||||
isctype. Values returned from lookup_classname can be safely
|
||||
bitwise or'ed together. Returns 0 if the character sequence is
|
||||
not the name of a character class recognized by X. The value
|
||||
returned shall be independent of the case of the characters in
|
||||
the sequence.
|
||||
</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<p>
|
||||
v.lookup_collatename(F1, F2)
|
||||
</p>
|
||||
<p>
|
||||
v.lookup_collatename(F1, F2)
|
||||
</p>
|
||||
</td>
|
||||
<td>
|
||||
<p>
|
||||
X::string_type
|
||||
</p>
|
||||
<p>
|
||||
X::string_type
|
||||
</p>
|
||||
</td>
|
||||
<td>
|
||||
<p>
|
||||
Returns a sequence of characters that represents the collating
|
||||
element consisting of the character sequence designated by the
|
||||
iterator range [F1, F2). Returns an empty string if the character
|
||||
sequence is not a valid collating element.
|
||||
</p>
|
||||
<p>
|
||||
Returns a sequence of characters that represents the collating
|
||||
element consisting of the character sequence designated by the
|
||||
iterator range [F1, F2). Returns an empty string if the character
|
||||
sequence is not a valid collating element.
|
||||
</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<p>
|
||||
v.isctype(c, v.lookup_classname (F1, F2))
|
||||
</p>
|
||||
<p>
|
||||
v.isctype(c, v.lookup_classname (F1, F2))
|
||||
</p>
|
||||
</td>
|
||||
<td>
|
||||
<p>
|
||||
bool
|
||||
</p>
|
||||
<p>
|
||||
bool
|
||||
</p>
|
||||
</td>
|
||||
<td>
|
||||
<p>
|
||||
Returns true if character c is a member of the character class
|
||||
designated by the iterator range [F1, F2), false otherwise.
|
||||
</p>
|
||||
<p>
|
||||
Returns true if character c is a member of the character class
|
||||
designated by the iterator range [F1, F2), false otherwise.
|
||||
</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<p>
|
||||
v.value(c, I)
|
||||
</p>
|
||||
<p>
|
||||
v.value(c, I)
|
||||
</p>
|
||||
</td>
|
||||
<td>
|
||||
<p>
|
||||
int
|
||||
</p>
|
||||
<p>
|
||||
int
|
||||
</p>
|
||||
</td>
|
||||
<td>
|
||||
<p>
|
||||
Returns the value represented by the digit c in base I if the character
|
||||
c is a valid digit in base I; otherwise returns -1. [Note: the
|
||||
value of I will only be 8, 10, or 16. -end note]
|
||||
</p>
|
||||
<p>
|
||||
Returns the value represented by the digit c in base I if the
|
||||
character c is a valid digit in base I; otherwise returns -1.
|
||||
[Note: the value of I will only be 8, 10, or 16. -end note]
|
||||
</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<p>
|
||||
u.imbue(loc)
|
||||
</p>
|
||||
<p>
|
||||
u.imbue(loc)
|
||||
</p>
|
||||
</td>
|
||||
<td>
|
||||
<p>
|
||||
X::locale_type
|
||||
</p>
|
||||
<p>
|
||||
X::locale_type
|
||||
</p>
|
||||
</td>
|
||||
<td>
|
||||
<p>
|
||||
Imbues u with the locale loc, returns the previous locale used
|
||||
by u if any.
|
||||
</p>
|
||||
<p>
|
||||
Imbues u with the locale loc, returns the previous locale used
|
||||
by u if any.
|
||||
</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<p>
|
||||
v.getloc()
|
||||
</p>
|
||||
<p>
|
||||
v.getloc()
|
||||
</p>
|
||||
</td>
|
||||
<td>
|
||||
<p>
|
||||
X::locale_type
|
||||
</p>
|
||||
<p>
|
||||
X::locale_type
|
||||
</p>
|
||||
</td>
|
||||
<td>
|
||||
<p>
|
||||
Returns the current locale used by v if any.
|
||||
</p>
|
||||
<p>
|
||||
Returns the current locale used by v if any.
|
||||
</p>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table></div>
|
||||
<a name="boost_regex.ref.concepts.traits_concept.additional_optional_requirements"></a><h5>
|
||||
<a name="id807234"></a>
|
||||
<a name="id885310"></a>
|
||||
<a class="link" href="traits_concept.html#boost_regex.ref.concepts.traits_concept.additional_optional_requirements">Additional
|
||||
Optional Requirements</a>
|
||||
</h5>
|
||||
@ -401,177 +398,178 @@
|
||||
</colgroup>
|
||||
<thead><tr>
|
||||
<th>
|
||||
<p>
|
||||
Expression
|
||||
</p>
|
||||
<p>
|
||||
Expression
|
||||
</p>
|
||||
</th>
|
||||
<th>
|
||||
<p>
|
||||
Result
|
||||
</p>
|
||||
<p>
|
||||
Result
|
||||
</p>
|
||||
</th>
|
||||
<th>
|
||||
<p>
|
||||
Assertion / Note Pre / Post condition
|
||||
</p>
|
||||
<p>
|
||||
Assertion / Note Pre / Post condition
|
||||
</p>
|
||||
</th>
|
||||
</tr></thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>
|
||||
<p>
|
||||
X::boost_extensions_tag
|
||||
</p>
|
||||
<p>
|
||||
X::boost_extensions_tag
|
||||
</p>
|
||||
</td>
|
||||
<td>
|
||||
<p>
|
||||
An unspecified type.
|
||||
</p>
|
||||
<p>
|
||||
An unspecified type.
|
||||
</p>
|
||||
</td>
|
||||
<td>
|
||||
<p>
|
||||
When present, all of the extensions listed in this table must be
|
||||
present.
|
||||
</p>
|
||||
<p>
|
||||
When present, all of the extensions listed in this table must
|
||||
be present.
|
||||
</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<p>
|
||||
v.syntax_type(c)
|
||||
</p>
|
||||
<p>
|
||||
v.syntax_type(c)
|
||||
</p>
|
||||
</td>
|
||||
<td>
|
||||
<p>
|
||||
regex_constants::syntax_type
|
||||
</p>
|
||||
<p>
|
||||
regex_constants::syntax_type
|
||||
</p>
|
||||
</td>
|
||||
<td>
|
||||
<p>
|
||||
Returns a symbolic value of type regex_constants::syntax_type that
|
||||
signifies the meaning of character c within the regular expression
|
||||
grammar.
|
||||
</p>
|
||||
<p>
|
||||
Returns a symbolic value of type regex_constants::syntax_type
|
||||
that signifies the meaning of character c within the regular
|
||||
expression grammar.
|
||||
</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<p>
|
||||
v.escape_syntax_type(c)
|
||||
</p>
|
||||
<p>
|
||||
v.escape_syntax_type(c)
|
||||
</p>
|
||||
</td>
|
||||
<td>
|
||||
<p>
|
||||
regex_constants::escape_syntax_type
|
||||
</p>
|
||||
<p>
|
||||
regex_constants::escape_syntax_type
|
||||
</p>
|
||||
</td>
|
||||
<td>
|
||||
<p>
|
||||
Returns a symbolic value of type regex_constants::escape_syntax_type,
|
||||
that signifies the meaning of character c within the regular expression
|
||||
grammar, when c has been preceded by an escape character. Precondition:
|
||||
if b is the character preceding c in the expression being parsed
|
||||
then: <code class="computeroutput"><span class="identifier">v</span><span class="special">.</span><span class="identifier">syntax_type</span><span class="special">(</span><span class="identifier">b</span><span class="special">)</span>
|
||||
<span class="special">==</span> <span class="identifier">syntax_escape</span></code>
|
||||
</p>
|
||||
<p>
|
||||
Returns a symbolic value of type regex_constants::escape_syntax_type,
|
||||
that signifies the meaning of character c within the regular
|
||||
expression grammar, when c has been preceded by an escape character.
|
||||
Precondition: if b is the character preceding c in the expression
|
||||
being parsed then: <code class="computeroutput"><span class="identifier">v</span><span class="special">.</span><span class="identifier">syntax_type</span><span class="special">(</span><span class="identifier">b</span><span class="special">)</span> <span class="special">==</span>
|
||||
<span class="identifier">syntax_escape</span></code>
|
||||
</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<p>
|
||||
v.translate(c, b)
|
||||
</p>
|
||||
<p>
|
||||
v.translate(c, b)
|
||||
</p>
|
||||
</td>
|
||||
<td>
|
||||
<p>
|
||||
X::char_type
|
||||
</p>
|
||||
<p>
|
||||
X::char_type
|
||||
</p>
|
||||
</td>
|
||||
<td>
|
||||
<p>
|
||||
Returns a character d such that: for any character d that is to
|
||||
be considered equivalent to c then <code class="computeroutput"><span class="identifier">v</span><span class="special">.</span><span class="identifier">translate</span><span class="special">(</span><span class="identifier">c</span><span class="special">,</span><span class="keyword">false</span><span class="special">)==</span><span class="identifier">v</span><span class="special">.</span><span class="identifier">translate</span><span class="special">(</span><span class="identifier">d</span><span class="special">,</span><span class="keyword">false</span><span class="special">)</span></code>. Likewise for all characters C
|
||||
that are to be considered equivalent to c when comparisons are
|
||||
to be performed without regard to case, then <code class="computeroutput"><span class="identifier">v</span><span class="special">.</span><span class="identifier">translate</span><span class="special">(</span><span class="identifier">c</span><span class="special">,</span><span class="keyword">true</span><span class="special">)==</span><span class="identifier">v</span><span class="special">.</span><span class="identifier">translate</span><span class="special">(</span><span class="identifier">C</span><span class="special">,</span><span class="keyword">true</span><span class="special">)</span></code>.
|
||||
</p>
|
||||
<p>
|
||||
Returns a character d such that: for any character d that is
|
||||
to be considered equivalent to c then <code class="computeroutput"><span class="identifier">v</span><span class="special">.</span><span class="identifier">translate</span><span class="special">(</span><span class="identifier">c</span><span class="special">,</span><span class="keyword">false</span><span class="special">)==</span><span class="identifier">v</span><span class="special">.</span><span class="identifier">translate</span><span class="special">(</span><span class="identifier">d</span><span class="special">,</span><span class="keyword">false</span><span class="special">)</span></code>. Likewise for all characters
|
||||
C that are to be considered equivalent to c when comparisons
|
||||
are to be performed without regard to case, then <code class="computeroutput"><span class="identifier">v</span><span class="special">.</span><span class="identifier">translate</span><span class="special">(</span><span class="identifier">c</span><span class="special">,</span><span class="keyword">true</span><span class="special">)==</span><span class="identifier">v</span><span class="special">.</span><span class="identifier">translate</span><span class="special">(</span><span class="identifier">C</span><span class="special">,</span><span class="keyword">true</span><span class="special">)</span></code>.
|
||||
</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<p>
|
||||
v.toi(I1, I2, i)
|
||||
</p>
|
||||
<p>
|
||||
v.toi(I1, I2, i)
|
||||
</p>
|
||||
</td>
|
||||
<td>
|
||||
<p>
|
||||
An integer type capable of holding either a charT or an int.
|
||||
</p>
|
||||
<p>
|
||||
An integer type capable of holding either a charT or an int.
|
||||
</p>
|
||||
</td>
|
||||
<td>
|
||||
<p>
|
||||
Behaves as follows: if <code class="computeroutput"><span class="identifier">p</span>
|
||||
<span class="special">==</span> <span class="identifier">q</span></code>
|
||||
or if <code class="computeroutput"><span class="special">*</span><span class="identifier">p</span></code>
|
||||
is not a digit character then returns -1. Otherwise performs formatted
|
||||
numeric input on the sequence [p,q) and returns the result as an
|
||||
int. Postcondition: either p == q or *p is a non-digit character.
|
||||
</p>
|
||||
<p>
|
||||
Behaves as follows: if <code class="computeroutput"><span class="identifier">p</span>
|
||||
<span class="special">==</span> <span class="identifier">q</span></code>
|
||||
or if <code class="computeroutput"><span class="special">*</span><span class="identifier">p</span></code>
|
||||
is not a digit character then returns -1. Otherwise performs
|
||||
formatted numeric input on the sequence [p,q) and returns the
|
||||
result as an int. Postcondition: either p == q or *p is a non-digit
|
||||
character.
|
||||
</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<p>
|
||||
v.error_string(I)
|
||||
</p>
|
||||
<p>
|
||||
v.error_string(I)
|
||||
</p>
|
||||
</td>
|
||||
<td>
|
||||
<p>
|
||||
std::string
|
||||
</p>
|
||||
<p>
|
||||
std::string
|
||||
</p>
|
||||
</td>
|
||||
<td>
|
||||
<p>
|
||||
Returns a human readable error string for the error condition i,
|
||||
where i is one of the values enumerated by type regex_constants::error_type.
|
||||
If the value <span class="emphasis"><em>I</em></span> is not recognized then returns
|
||||
the string "Unknown error" or a localized equivalent.
|
||||
</p>
|
||||
<p>
|
||||
Returns a human readable error string for the error condition
|
||||
i, where i is one of the values enumerated by type regex_constants::error_type.
|
||||
If the value <span class="emphasis"><em>I</em></span> is not recognized then returns
|
||||
the string "Unknown error" or a localized equivalent.
|
||||
</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<p>
|
||||
v.tolower(c)
|
||||
</p>
|
||||
<p>
|
||||
v.tolower(c)
|
||||
</p>
|
||||
</td>
|
||||
<td>
|
||||
<p>
|
||||
X::char_type
|
||||
</p>
|
||||
<p>
|
||||
X::char_type
|
||||
</p>
|
||||
</td>
|
||||
<td>
|
||||
<p>
|
||||
Converts c to lower case, used for Perl-style \l and \L formating
|
||||
operations.
|
||||
</p>
|
||||
<p>
|
||||
Converts c to lower case, used for Perl-style \l and \L formating
|
||||
operations.
|
||||
</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<p>
|
||||
v.toupper(c)
|
||||
</p>
|
||||
<p>
|
||||
v.toupper(c)
|
||||
</p>
|
||||
</td>
|
||||
<td>
|
||||
<p>
|
||||
X::char_type
|
||||
</p>
|
||||
<p>
|
||||
X::char_type
|
||||
</p>
|
||||
</td>
|
||||
<td>
|
||||
<p>
|
||||
Converts c to upper case, used for Perl-style \u and \U formating
|
||||
operations.
|
||||
</p>
|
||||
<p>
|
||||
Converts c to upper case, used for Perl-style \u and \U formating
|
||||
operations.
|
||||
</p>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
@ -587,7 +585,7 @@
|
||||
</tr></table>
|
||||
<hr>
|
||||
<div class="spirit-nav">
|
||||
<a accesskey="p" href="charT_concept.html"><img src="../../../../../../../doc/html/images/prev.png" alt="Prev"></a><a accesskey="u" href="../concepts.html"><img src="../../../../../../../doc/html/images/up.png" alt="Up"></a><a accesskey="h" href="../../../index.html"><img src="../../../../../../../doc/html/images/home.png" alt="Home"></a><a accesskey="n" href="iterator_concepts.html"><img src="../../../../../../../doc/html/images/next.png" alt="Next"></a>
|
||||
<a accesskey="p" href="charT_concept.html"><img src="../../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../concepts.html"><img src="../../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../index.html"><img src="../../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="iterator_concepts.html"><img src="../../../../../../../doc/src/images/next.png" alt="Next"></a>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
Reference in New Issue
Block a user