[Boost-bugs] [Boost C++ Libraries] #4695: Exposing packed_iarchive::position()

Subject: [Boost-bugs] [Boost C++ Libraries] #4695: Exposing packed_iarchive::position()
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2010-09-29 15:54:20


#4695: Exposing packed_iarchive::position()
---------------------------------+------------------------------------------
 Reporter: astukalov@… | Owner: dgregor
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: mpi
  Version: Boost 1.44.0 | Severity: Optimization
 Keywords: |
---------------------------------+------------------------------------------
 I'm transferring variable number of packed objects (of same datatype)
 using isend/recv.
 ''(I'm new to MPI, so I might be wrong -- but is it true that for multiple
 isends with the same message tag the received message would contain a
 concatenation?)''

 Then I'm reading objects out of the buffer using packed_iarchive. Because
 their number is not known, I need a way to know if I read all objects from
 archive. `packed_iprimitive` already has `position` field.

 Is it worth to make `position()` publicly accessible? The patch against
 trunk is attached.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/4695>
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:04 UTC