mirror of
https://github.com/boostorg/beast.git
synced 2025-07-30 12:57:31 +02:00
@ -1,5 +1,7 @@
|
|||||||
Version 47
|
Version 47
|
||||||
|
|
||||||
|
* Disable operator<< for buffer_body
|
||||||
|
|
||||||
API Changes:
|
API Changes:
|
||||||
|
|
||||||
* Refactor treatment of request-method
|
* Refactor treatment of request-method
|
||||||
|
@ -120,6 +120,21 @@ struct buffer_body
|
|||||||
#endif
|
#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
|
} // http
|
||||||
} // beast
|
} // beast
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user