mirror of
https://github.com/zeromq/cppzmq.git
synced 2025-10-20 05:49:07 +02:00
Merge pull request #358 from gummif/gfa/send-recv-multipart
Problem: Handling multipart messages is complex
This commit is contained in:
9
zmq.hpp
9
zmq.hpp
@@ -971,6 +971,15 @@ inline const_buffer buffer(const const_buffer& cb, size_t n) noexcept
|
||||
|
||||
namespace detail
|
||||
{
|
||||
|
||||
template<class T>
|
||||
struct is_buffer
|
||||
{
|
||||
static constexpr bool value =
|
||||
std::is_same<T, const_buffer>::value ||
|
||||
std::is_same<T, mutable_buffer>::value;
|
||||
};
|
||||
|
||||
template<class T> struct is_pod_like
|
||||
{
|
||||
// NOTE: The networking draft N4771 section 16.11 requires
|
||||
|
Reference in New Issue
Block a user