Tidy up multi_buffer:

* Improved tests
* Refactor some declaration material
* basic_multi_buffer::clear is public

and

* Fix flat_buffer::reserve
* flat_buffer::clear is public
This commit is contained in:
Vinnie Falco committed 2018-12-19 20:59:20 -08:00
1 parent 74293fb8a5
commit 594a92e515
10 files changed
+386 -389

No files matched your search

-11
View File
@@ -28,17 +28,6 @@ namespace beast {
class buffers_cat_test : public unit_test::suite
{
public:
template<class ConstBufferSequence>
static
std::size_t
buffers_length(
ConstBufferSequence const& buffers)
{
return std::distance(
net::buffer_sequence_begin(buffers),
net::buffer_sequence_end(buffers));
}
void
testDefaultIterators()
{