mirror of
https://github.com/boostorg/beast.git
synced 2025-07-30 21:07:26 +02:00
@ -5,6 +5,7 @@ Version 145:
|
|||||||
* Refactor HTTP async read composed operations
|
* Refactor HTTP async read composed operations
|
||||||
* null_buffers is deprecated
|
* null_buffers is deprecated
|
||||||
* Version 124 works with Boost 1.65.1 and earlier
|
* Version 124 works with Boost 1.65.1 and earlier
|
||||||
|
* basic_fields does not support fancy pointers
|
||||||
|
|
||||||
--------------------------------------------------------------------------------
|
--------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
@ -56,6 +56,11 @@ class basic_fields
|
|||||||
: private beast::detail::empty_base_optimization<Allocator>
|
: private beast::detail::empty_base_optimization<Allocator>
|
||||||
#endif
|
#endif
|
||||||
{
|
{
|
||||||
|
// Fancy pointers are not supported
|
||||||
|
static_assert(std::is_pointer<typename
|
||||||
|
std::allocator_traits<Allocator>::pointer>::value,
|
||||||
|
"Allocator must use regular pointers");
|
||||||
|
|
||||||
friend class fields_test; // for `header`
|
friend class fields_test; // for `header`
|
||||||
|
|
||||||
static std::size_t constexpr max_static_buffer = 4096;
|
static std::size_t constexpr max_static_buffer = 4096;
|
||||||
|
Reference in New Issue
Block a user