forked from boostorg/beast
Refactor flat_buffer
This commit is contained in:
committed by
Vinnie Falco
parent
fc5399722e
commit
25c8fb4714
@@ -3,6 +3,7 @@ Version 286:
|
|||||||
* Refactor multi_buffer
|
* Refactor multi_buffer
|
||||||
* Refactor buffers_adapter
|
* Refactor buffers_adapter
|
||||||
* Refactor static_buffer
|
* Refactor static_buffer
|
||||||
|
* Refactor flat_buffer
|
||||||
|
|
||||||
API Changes:
|
API Changes:
|
||||||
|
|
||||||
@@ -10,6 +11,7 @@ API Changes:
|
|||||||
* buffers_adaptor::mutable_data_type is deprecated. Use buffers_adaptor::mutable_buffers_type instead.
|
* buffers_adaptor::mutable_data_type is deprecated. Use buffers_adaptor::mutable_buffers_type instead.
|
||||||
* static_buffer::mutable_data_type is deprecated. Use static_buffer::mutable_buffers_type instead.
|
* static_buffer::mutable_data_type is deprecated. Use static_buffer::mutable_buffers_type instead.
|
||||||
* static_buffer_base::mutable_data_type is deprecated. Use static_buffer_base::mutable_buffers_type instead.
|
* static_buffer_base::mutable_data_type is deprecated. Use static_buffer_base::mutable_buffers_type instead.
|
||||||
|
* flat_buffer::mutable_data_type is deprecated. Use flat_buffer::mutable_buffers_type instead.
|
||||||
|
|
||||||
--------------------------------------------------------------------------------
|
--------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
@@ -396,7 +396,6 @@ public:
|
|||||||
/// The ConstBufferSequence used to represent the readable bytes.
|
/// The ConstBufferSequence used to represent the readable bytes.
|
||||||
using const_buffers_type = net::const_buffer;
|
using const_buffers_type = net::const_buffer;
|
||||||
|
|
||||||
/// The MutableBufferSequence used to represent the readable bytes.
|
|
||||||
using mutable_data_type = net::mutable_buffer;
|
using mutable_data_type = net::mutable_buffer;
|
||||||
|
|
||||||
/// The MutableBufferSequence used to represent the writable bytes.
|
/// The MutableBufferSequence used to represent the writable bytes.
|
||||||
@@ -438,7 +437,7 @@ public:
|
|||||||
}
|
}
|
||||||
|
|
||||||
/// Returns a mutable buffer sequence representing the readable bytes
|
/// Returns a mutable buffer sequence representing the readable bytes
|
||||||
mutable_data_type
|
mutable_buffers_type
|
||||||
data() noexcept
|
data() noexcept
|
||||||
{
|
{
|
||||||
return {in_, dist(in_, out_)};
|
return {in_, dist(in_, out_)};
|
||||||
|
Reference in New Issue
Block a user