Subject: Re: [Boost-bugs] [Boost C++ Libraries] #2220: Stack overflow in get_mpi_datatype() for struct declared as primitive_type
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2008-08-19 13:54:50
#2220: Stack overflow in get_mpi_datatype() for struct declared as primitive_type
---------------------------+------------------------------------------------
Reporter: Evgeny | Owner: troyer
Type: Bugs | Status: new
Milestone: Boost 1.36.0 | Component: mpi
Version: Boost 1.36.0 | Severity: Problem
Resolution: | Keywords:
---------------------------+------------------------------------------------
Comment(by troyer):
The problem is that the serialization mechanism is not used for primitive
types. This struct will actually not serialize with a text or XML-based
archive either. Why is it declared primitive?
To make it work you have to overload get_mpi_datatype for this "primitive"
type.
-- Ticket URL: <http://svn.boost.org/trac/boost/ticket/2220#comment:2> 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:58 UTC