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

+3 -3
View File
@@ -69,7 +69,6 @@ public:
// in-place init
{
using namespace test;
buffers_suffix<buffers_cat_view<
net::const_buffer,
net::const_buffer>> cb(
@@ -106,8 +105,9 @@ public:
bool
eq(Buffers1 const& lhs, Buffers2 const& rhs)
{
using namespace test;
return buffers_to_string(lhs) == buffers_to_string(rhs);
return
buffers_to_string(lhs) ==
buffers_to_string(rhs);
}
void