I'm would like to receive directly into a boost::lockfree:spsc_queue
(or, alternatively, a boost::circular_buffer
) from a boost::asio::async_read
call. Looks like I need to write a wrapper to make the spsc_queue a MutableBuffer
.
Can anyone share some guidance on if this is possible, and how to achieve this?
Many thanks