mirror of
https://github.com/Xahau/xahaud.git
synced 2025-12-06 17:27:52 +00:00
Fix basic_streambuf:
prepare() is rewritten to operate more simply; the state of the container is always consistent even between internal operations.
This commit is contained in:
@@ -41,6 +41,9 @@ public:
|
||||
template rebind_alloc<std::uint8_t>;
|
||||
|
||||
private:
|
||||
// Storage for the list of buffers representing the input
|
||||
// and output sequences. The allocation for each element
|
||||
// contains `element` followed by raw storage bytes.
|
||||
class element;
|
||||
|
||||
using alloc_traits = std::allocator_traits<allocator_type>;
|
||||
|
||||
Reference in New Issue
Block a user