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
+8
View File
@@ -44,6 +44,14 @@ public:
BOOST_STATIC_ASSERT(std::is_convertible<
static_buffer_base::mutable_data_type,
static_buffer_base::const_buffers_type>::value);
#if ! defined( BOOST_LIBSTDCXX_VERSION ) || BOOST_LIBSTDCXX_VERSION >= 50000
# ifndef BOOST_ASIO_ENABLE_BUFFER_DEBUGGING
BOOST_STATIC_ASSERT(std::is_trivially_copyable<
static_buffer_base::const_buffers_type>::value);
BOOST_STATIC_ASSERT(std::is_trivially_copyable<
static_buffer_base::mutable_data_type>::value);
# endif
#endif
template<class DynamicBuffer>
void