mirror of
https://github.com/boostorg/beast.git
synced 2025-07-29 20:37:31 +02:00
@ -1,5 +1,7 @@
|
||||
Version 47
|
||||
|
||||
* Disable operator<< for buffer_body
|
||||
|
||||
API Changes:
|
||||
|
||||
* Refactor treatment of request-method
|
||||
|
@ -120,6 +120,21 @@ struct buffer_body
|
||||
#endif
|
||||
};
|
||||
|
||||
#if ! BEAST_DOXYGEN
|
||||
|
||||
template<bool isRequest, class Fields,
|
||||
bool isDeferred, class ConstBufferSequence>
|
||||
std::ostream&
|
||||
operator<<(std::ostream& os, message<
|
||||
isRequest, buffer_body<isDeferred,
|
||||
ConstBufferSequence>, Fields> const& msg)
|
||||
{
|
||||
static_assert(sizeof(ConstBufferSequence) == -1,
|
||||
"operator<< is not supported for buffer_body");
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
} // http
|
||||
} // beast
|
||||
|
||||
|
Reference in New Issue
Block a user