[Boost-bugs] [Boost C++ Libraries] #1185: iostreams::direct_streambuf<T, Tr>::is_open always returns false if output iterator is not null

Subject: [Boost-bugs] [Boost C++ Libraries] #1185: iostreams::direct_streambuf<T, Tr>::is_open always returns false if output iterator is not null
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2007-08-15 13:33:38


#1185: iostreams::direct_streambuf<T,Tr>::is_open always returns false if output
iterator is not null
------------------------------+---------------------------------------------
 Reporter: ysb33r_at_[hidden] | Type: Bugs
   Status: new | Milestone: To Be Determined
Component: None | Version: Boost 1.34.1
 Severity: Problem | Keywords:
------------------------------+---------------------------------------------
 In iostreams/detail/streambuf/direct_streambuf.hpp, the code


 {{{
 bool direct_streambuf<T, Tr>::is_open() { return ibeg_ != 0 && !obeg_ !=
 0; }
 }}}


 has a misplaced !obeg_. It should read


 {{{
 { return ibeg_ != 0 && obeg_ != 0; }
 }}}

--
Ticket URL: <http://svn.boost.org/trac/boost/ticket/1185>
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:49:56 UTC