Re: [Boost-bugs] [Boost C++ Libraries] #7162: socket streams crash with C++11 enabled; tie(this) no longer legal

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #7162: socket streams crash with C++11 enabled; tie(this) no longer legal
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2012-07-23 23:52:17


#7162: socket streams crash with C++11 enabled; tie(this) no longer legal
----------------------------------------+-----------------------------------
  Reporter: andrew.c.morrow@… | Owner: chris_kohlhoff
      Type: Bugs | Status: new
 Milestone: To Be Determined | Component: asio
   Version: Boost Development Trunk | Severity: Problem
Resolution: | Keywords:
----------------------------------------+-----------------------------------

Comment (by chris_kohlhoff):

 (In [79710]) Instead of using tie(), set the ios_base::unitbuf flag to
 force the stream to be flushed after every insertion. Refs #7162

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/7162#comment:1>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:10 UTC