Re: [Boost-bugs] [Boost C++ Libraries] #5139: Initial Stream Position in Boost.Interprocess.Vectorstream

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #5139: Initial Stream Position in Boost.Interprocess.Vectorstream
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2015-04-20 20:06:02


#5139: Initial Stream Position in Boost.Interprocess.Vectorstream
-------------------------------+--------------------------
  Reporter: charles@… | Owner: igaztanaga
      Type: Bugs | Status: reopened
 Milestone: To Be Determined | Component: interprocess
   Version: Boost 1.57.0 | Severity: Problem
Resolution: | Keywords:
-------------------------------+--------------------------
Changes (by superpacko@…):

 * cc: superpacko@… (added)
 * status: closed => reopened
 * version: Boost 1.45.0 => Boost 1.57.0
 * resolution: invalid =>

Comment:

 This is happening in vs2013 as well if you dont provide a vector or you
 provide an empty one, tellp() returns -1. Is no good, it forces you to
 initialize with a vector with something inside, instead of just relying on
 that default position would be 0, since it is for both input and output
 and theres the possibility to write on it.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/5139#comment:3>
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:18 UTC