Simplify multi_buffer and static_buffer sequences

This commit is contained in:
Vinnie Falco
2018-12-02 17:52:01 -08:00
parent f995fd41a3
commit 773048c551
5 changed files with 100 additions and 96 deletions
+6
View File
@@ -46,6 +46,12 @@ public:
BOOST_STATIC_ASSERT(std::is_convertible<
multi_buffer::mutable_data_type,
multi_buffer::const_buffers_type>::value);
#if ! defined( BOOST_LIBSTDCXX_VERSION ) || BOOST_LIBSTDCXX_VERSION >= 50000
BOOST_STATIC_ASSERT(std::is_trivially_copyable<
multi_buffer::const_buffers_type>::value);
BOOST_STATIC_ASSERT(std::is_trivially_copyable<
multi_buffer::mutable_data_type>::value);
#endif
template<class Alloc1, class Alloc2>
static