Could you please add an option to create an instance of the boost::asio::mutable_buffer class out of std::span / boost::span?
It is easy to manipulate with the buffer via the span interface. You can do subspan without any reallocations and prepare data ptr/size in a natural way. What is missing is a asio::mutable_buffer constructor that accepts the span.
Could you please add an option to create an instance of the
boost::asio::mutable_buffer
class out ofstd::span
/boost::span
?It is easy to manipulate with the buffer via the span interface. You can do
subspan
without any reallocations and prepare data ptr/size in a natural way. What is missing is aasio::mutable_buffer
constructor that accepts the span.