[asio] streambuf example wrong

11 Jan
2010
11 Jan
'10
7:51 p.m.
The example section in the documentation for boost::asio::streambuf indicates you can: boost::asio::streambuf::const_buffers_type bufs = b.prepare(512); The compiler (gcc) thinks not. You can however: boost::asio::streambuf::const_buffer_type bufs( b.prepare(512) ); Regards - michael -- ---------------------------------- Michael Caisse Object Modeling Designs www.objectmodelingdesigns.com
5630
Age (days ago)
5630
Last active (days ago)
0 comments
1 participants
participants (1)
-
Michael Caisse