Boost logo

Boost :

Subject: [boost] Error to convert to boost::asio::streambuf to raw buffer char *buffer
From: hh h (jupiter.hce_at_[hidden])
Date: 2018-12-16 04:19:17

boost::asio::streambuf sb;
char *raw = sb;

error: cannot convert ‘boost::asio::streambuf {aka
boost::asio::basic_streambuf<>}’ to ‘char*’ in initialization

I've checked the boost::asio::streambuf reference, but could not find
anything to fix it, appreciate any clues.

Boost list run by bdawes at, gregod at, cpdaniel at, john at