forked from boostorg/beast
1 parent
3543b4b913
commit
929174d4d8
15 files changed
+105
-46
No files matched your search
@@ -285,13 +285,6 @@ public:
|
||||
void
|
||||
consume(size_type n);
|
||||
|
||||
// Helper for boost::asio::read_until
|
||||
template<class OtherAllocator>
|
||||
friend
|
||||
std::size_t
|
||||
read_size_helper(basic_multi_buffer<
|
||||
OtherAllocator> const& multi_buffer, std::size_t max_size);
|
||||
|
||||
private:
|
||||
void
|
||||
clear();
|
||||
@@ -315,6 +308,13 @@ private:
|
||||
debug_check() const;
|
||||
};
|
||||
|
||||
/// Helper for boost::asio::read_until
|
||||
template<class Allocator>
|
||||
std::size_t
|
||||
read_size_helper(
|
||||
basic_multi_buffer<Allocator> const& buffer,
|
||||
std::size_t max_size);
|
||||
|
||||
/// A typical multi buffer
|
||||
using multi_buffer = basic_multi_buffer<std::allocator<char>>;
|
||||
|
||||
|
||||
Reference in new issue
Block a user