Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
54 changes: 0 additions & 54 deletions include/boost/http_proto/detail/managed.hpp

This file was deleted.

17 changes: 7 additions & 10 deletions include/boost/http_proto/impl/serializer.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@

#include <boost/http_proto/detail/except.hpp>

#include <numeric>

namespace boost {
namespace http_proto {

Expand Down Expand Up @@ -127,11 +125,11 @@ start(
"ConstBufferSequence type requirements not met");

start_init(m);
cbs_gen_ = std::addressof(
ws_.emplace<cbs_gen_impl<typename
std::decay<ConstBufferSequence>::type>>(
start_buffers(
m,
ws().emplace<cbs_gen_impl<typename
std::decay<ConstBufferSequence>::type>>(
std::forward<ConstBufferSequence>(cbs)));
start_buffers(m);
}

template<
Expand All @@ -152,11 +150,10 @@ start(
"The Source cannot be constructed with the given arguments");

start_init(m);
auto& src = construct_source<Source>(
auto& source = ws().emplace<Source>(
std::forward<Args>(args)...);
source_ = std::addressof(src);
start_source(m);
return src;
start_source(m, source);
return source;
}

} // http_proto
Expand Down
3 changes: 0 additions & 3 deletions include/boost/http_proto/parser.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -621,9 +621,6 @@ class parser
BOOST_HTTP_PROTO_DECL
parser(parser&& other) noexcept;

BOOST_HTTP_PROTO_DECL
parser& operator=(parser&& other) noexcept;

BOOST_HTTP_PROTO_DECL
~parser();

Expand Down
23 changes: 0 additions & 23 deletions include/boost/http_proto/request_parser.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -107,29 +107,6 @@ class request_parser
request_parser(
request_parser&& other) noexcept = default;

/** Assignment.

The states of `other` are transferred to
`this`, including the allocated buffer.
The previous states of `this` are
destroyed. After assignment, the only
valid operations on the moved-from object
are destruction and assignment.

Buffer sequences previously obtained
using @ref prepare or @ref pull_body
remain valid.

@par Complexity
Constant.

@return A reference to this object.

@param other The parser to assign from.
*/
request_parser& operator=(
request_parser&& other) noexcept = default;

/** Destructor.

Any views or buffers obtained from this
Expand Down
23 changes: 0 additions & 23 deletions include/boost/http_proto/response_parser.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -107,29 +107,6 @@ class response_parser
response_parser(
response_parser&& other) noexcept = default;

/** Assignment.

The states of `other` are transferred to
`this`, including the allocated buffer.
The previous states of `this` are
destroyed. After assignment, the only
valid operations on the moved-from object
are destruction and assignemt.

Buffer sequences previously obtained
using @ref prepare or @ref pull_body
remain valid.

@par Complexity
Constant.

@return A reference to this object.

@param other The parser to assign from.
*/
response_parser& operator=(
response_parser&& other) noexcept = default;

/** Destructor.

Any views or buffers obtained from this
Expand Down
Loading
Loading