Share

asio C++ library

Tracker: Bugs

5 streambuf sample code error - ID: 2857630
Last Update: Tracker Item Submitted ( dkq )

From the "Reading from a socket directly into a streambuf" example in
basic_streambuf.hpp:

asio::streambuf::const_buffers_type bufs = b.prepare(512);

I believe that should be mutable_buffers_type, not const_buffers_type.


Darrell K ( dkq ) - 2009-09-12 17:48

5

Open

None

Nobody/Anonymous

None

None

Public


Comments




Log in to comment.

No follow-up comments have been posted.

Attached File

No Files Currently Attached

Change

No changes have been made to this artifact.