id,summary,reporter,owner,description,type,status,milestone,component,version,severity,resolution,keywords,cc 4196,Code does not compile when using boost::asio::local::stream_protocol::iostream,Hannes Brandstätter-Müller ,chris_kohlhoff,"I found a reference to this problem on [http://old.nabble.com/Problems-with-boost%3a%3aasio%3a%3alocal%3a%3astream_protocol%3a%3aiostream-under-Boost-1.36.0-td19462107.html this page]. Unfortunately, there was no solution there to be found. I get the following errors when trying to use {{{ asio::local::stream_protocol::iostream stream_; }}} initialization in the constructor of my class as: {{{ myclass::myclass(const std::string& file) : stream_(file) {} }}} Errors: {{{ /usr/local/include/boost/asio/basic_socket_streambuf.hpp: In member function ‘boost::asio::basic_socket_streambuf* boost::asio::basic_socket_streambuf::connect(T0) [with T0 = std::basic_string, std::allocator >, Protocol = boost::asio::local::stream_protocol, StreamSocketService = boost::asio::stream_socket_service]’: /usr/local/include/boost/asio/basic_socket_iostream.hpp:114: instantiated from ‘boost::asio::basic_socket_iostream::basic_socket_iostream(T0) [with T0 = std::basic_string, std::allocator >, Protocol = boost::asio::local::stream_protocol, StreamSocketService = boost::asio::stream_socket_service]’ myclass.cpp:14: instantiated from here /usr/local/include/boost/asio/basic_socket_streambuf.hpp:139: error: no type named ‘resolver_query’ in ‘class boost::asio::local::stream_protocol’ make: *** [myclass.o] Error 1 }}} ",Bugs,closed,Boost 1.43.0,asio,Boost 1.42.0,Showstopper,invalid,,