mirror of
https://github.com/boostorg/beast.git
synced 2025-07-29 20:37:31 +02:00
Document type-pun in buffer_cat
This commit is contained in:
@ -1,13 +1,17 @@
|
||||
1.0.0-b29
|
||||
|
||||
* Fix race in writes during WebSocket reads
|
||||
* Fix compilation error in non-template class
|
||||
* Document type-pun in buffer_cat
|
||||
|
||||
HTTP
|
||||
|
||||
* Fix Body requirements doc
|
||||
* Fix illegal HTTP characters accepted as hex zero
|
||||
|
||||
WebSocket
|
||||
|
||||
* Fix race in writes during reads
|
||||
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
1.0.0-b28
|
||||
|
@ -82,6 +82,7 @@ class buffer_cat_helper<Bn...>::const_iterator
|
||||
iter_t<I>&
|
||||
iter()
|
||||
{
|
||||
// type-pun
|
||||
return *reinterpret_cast<
|
||||
iter_t<I>*>(static_cast<void*>(
|
||||
buf_.data()));
|
||||
@ -91,6 +92,7 @@ class buffer_cat_helper<Bn...>::const_iterator
|
||||
iter_t<I> const&
|
||||
iter() const
|
||||
{
|
||||
// type-pun
|
||||
return *reinterpret_cast<
|
||||
iter_t<I> const*>(static_cast<
|
||||
void const*>(buf_.data()));
|
||||
|
Reference in New Issue
Block a user