Tidy up FieldsReader doc

This commit is contained in:
Vinnie Falco
2017-10-30 15:31:00 -07:00
parent 23bf8638ab
commit 14653be0cc
3 changed files with 6 additions and 9 deletions

View File

@ -3,6 +3,7 @@ Version 132:
* Tidy up project folders in CMakeLists.txt
* Rename Cmake variables for clarity
* Add ref-qualified overloads for message::body
* Tidy up FieldsReader doc
--------------------------------------------------------------------------------

View File

@ -41,7 +41,7 @@ In this table:
This is the type of buffer returned by `R::get`.
]
][
[`R(f,v,m)`]
[`R{f,v,m}`]
[]
[
The implementation calls this constructor to indicate
@ -50,7 +50,7 @@ In this table:
to end no earlier than after the `R` is destroyed.
]
][
[`R(f,v,c)`]
[`R{f,v,c}`]
[]
[
The implementation calls this constructor to indicate

View File

@ -272,7 +272,7 @@ static_assert(is_fields<Fields>::value,
//]
struct Fields_FieldsReader {
using F = Fields_FieldsReader;
using Fields = Fields_FieldsReader;
//[concept_FieldsReader
struct FieldsReader
@ -281,14 +281,10 @@ struct FieldsReader
struct const_buffers_type;
// Constructor for requests
FieldsReader(F const& f, unsigned version, verb method);
FieldsReader(Fields const& f, unsigned version, verb method);
// Constructor for responses
FieldsReader(F const& f, unsigned version, unsigned status);
// Returns `true` if keep-alive is indicated
bool
keep_alive();
FieldsReader(Fields const& f, unsigned version, unsigned status);
// Returns the serialized header buffers
const_buffers_type