From 48929c4b3c4980f6d384ae696a2859788d4fcbfa Mon Sep 17 00:00:00 2001 From: Zach Laine Date: Sat, 1 Jul 2017 16:33:23 -0500 Subject: [PATCH] std::pair "last" -> "first" in http_message.qbk fix #563 --- doc/9_1_http_message.qbk | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/doc/9_1_http_message.qbk b/doc/9_1_http_message.qbk index 53a57934..af1f36c6 100644 --- a/doc/9_1_http_message.qbk +++ b/doc/9_1_http_message.qbk @@ -209,13 +209,13 @@ with arbitrary variadic lists of parameters. This allows the container to fully support allocators. The solution used in the library is to treat the message like a `std::pair` -for the purposes of construction, except that instead of `first` and `last` -we have `fields` and `body`. This means that single-argument constructors -for those fields should be accessible as they are with `std::pair`, and -that a mechanism identical to the pair's use of `std::piecewise_construct` -should be provided. Those constructors are too complex to repeat here, but -interested readers can view the declarations in the corresponding header -file. +for the purposes of construction, except that instead of `first` and `second` +we have the `Fields` base class and `message::body` member. This means that +single-argument constructors for those fields should be accessible as they +are with `std::pair`, and that a mechanism identical to the pair's use of +`std::piecewise_construct` should be provided. Those constructors are too +complex to repeat here, but interested readers can view the declarations +in the corresponding header file. There is now significant progress with our message container but a stumbling block remains. There is no way to control the allocator for the `std::string`