Skip to content

Commit 7f12be2

Browse files
committed
[FOLD]
1 parent ad488ef commit 7f12be2

1 file changed

Lines changed: 7 additions & 8 deletions

File tree

doc/modules/ROOT/pages/2.messages.adoc

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -66,8 +66,8 @@ All containers maintain the following invariants:
6666
* Any modification that would produce a malformed field or start line
6767
throws an exception, with strong exception safety guaranteed.
6868

69-
To satisfy these invariants, a default-constructed container provides an
70-
initial start line:
69+
To satisfy these invariants, default-constructed containers
70+
initially consist of a start line:
7171

7272
[source,cpp]
7373
----
@@ -99,7 +99,11 @@ obs-fold = CRLF 1*( SP / HTAB )
9999
Operations which create or modify fields throw exceptions when the name or
100100
value do not meet the syntactic requirements of the protocol.
101101

102-
Here we build an
102+
Although fields can be identified by comparing their names, the library
103+
provides the field enumeration, which defines a large set of constants for
104+
well-known field names. Internally, containers maintain a lookup table so
105+
that specifying fields by enumeration replaces costly string comparisons
106+
with efficient integer comparisons. Here we build an
103107
https://tools.ietf.org/html/rfc7231#section-4.3.1[HTTP GET]
104108
request:
105109

@@ -126,10 +130,5 @@ specifications to ensure correct behavior.
126130

127131

128132

129-
Although fields can be identified by comparing their names, the library
130-
provides the field enumeration, which defines a large set of constants for
131-
well-known field names. Internally, containers maintain a lookup table so
132-
that specifying fields by enumeration replaces costly string comparisons
133-
with efficient integer comparisons.
134133

135134
Header fields are accessed as a bidirectional range whose value type

0 commit comments

Comments
 (0)