Maxim Perenesenko
-
2011-08-02
Fix asio/impl/read_until.hpp, async_read_until with regex
Brought to you by:
chris_kohlhoff
Description:
Latest boost 1_47_0: function async_read_until ( ...const boost::regex& ) produces compilation error when used.
Attached small patch fixes the issue. Please, apply in the upcoming release.
Background:
Compiler fails to deduce template argument RegEx for internal function detail::make_read_until_expr_op, called from async_read_until(..., const boost::regex& expr, .... )
Environment:
Ubuntu 11.04 x64, boost_1_47, gcc (Ubuntu/Linaro 4.5.2-8ubuntu4) 4.5.2