Boost C++ Libraries: Ticket #11183: boost::asio::async_read_until() not usable on (at least) VC++ 2013 https://svn.boost.org/trac10/ticket/11183 <p> parameter 2 of boost::asio::async_read_until is a boost::asio::basic_streambuf&lt;Allocator&gt;&amp; - examples even show that you can declare a boost::asio::streambuf lvalue and pass it in. </p> <p> However, doing so and attempting to compile results in the following error: </p> <p> \boost\boost\asio\detail\buffer_sequence_adapter.hpp(111): error C2664: 'boost::asio::const_buffer::const_buffer(const boost::asio::const_buffer &amp;)' : cannot convert argument 1 from 'const char' to 'const boost::asio::mutable_buffer &amp;' 1&gt; Reason: cannot convert from 'const char' to 'const boost::asio::mutable_buffer' 1&gt; No constructor could take the source type, or constructor overload resolution was ambiguous 1&gt; \boost\asio\detail\buffer_sequence_adapter.hpp(104) : while compiling class template member function 'boost::asio::detail::buffer_sequence_adapter&lt;boost::asio::const_buffer,ConstBufferSequence&gt;::buffer_sequence_adapter(const Buffers &amp;)' </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/11183 Trac 1.4.3 anonymous Sun, 12 Apr 2015 00:45:08 GMT <link>https://svn.boost.org/trac10/ticket/11183#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/11183#comment:1</guid> <description> <p> Bug confirmed as invalid, close it. </p> </description> <category>Ticket</category> </item> </channel> </rss>